FAST  3.2.0
Framework for Heterogeneous Medical Image Computing and Visualization
Public Types | Public Member Functions | List of all members
fast::TensorAccess Class Reference

#include <TensorAccess.hpp>

Public Types

typedef std::unique_ptr< TensorAccesspointer
 

Public Member Functions

 TensorAccess (float *data, TensorShape shape, std::shared_ptr< Tensor > tensor)
 
float * getRawData ()
 
TensorShape getShape () const
 
 ~TensorAccess ()
 
void release ()
 
template<int NumDimensions>
TensorData< NumDimensions > getData () const
 

Member Typedef Documentation

◆ pointer

typedef std::unique_ptr<TensorAccess> fast::TensorAccess::pointer

Constructor & Destructor Documentation

◆ TensorAccess()

fast::TensorAccess::TensorAccess ( float *  data,
TensorShape  shape,
std::shared_ptr< Tensor tensor 
)

◆ ~TensorAccess()

fast::TensorAccess::~TensorAccess ( )

Member Function Documentation

◆ getData()

template<int NumDimensions>
TensorData< NumDimensions > fast::TensorAccess::getData

◆ getRawData()

float* fast::TensorAccess::getRawData ( )

◆ getShape()

TensorShape fast::TensorAccess::getShape ( ) const

◆ release()

void fast::TensorAccess::release ( )

The documentation for this class was generated from the following file: