ClassList > mediapipe > Tensor
Classes
Public Types
Public Functions
Public Types Documentation
typedef CpuReadView
using mediapipe::Tensor::CpuReadView = CpuView<const void>;
typedef CpuWriteView
using mediapipe::Tensor::CpuWriteView = CpuView<void>;
enum ElementType
enum mediapipe::Tensor::ElementType {
kNone,
kFloat16,
kFloat32,
kUInt8,
kInt8,
kInt32,
kInt64,
kChar,
kBool
};
Public Functions Documentation
function GetCpuReadView
CpuReadView mediapipe::Tensor::GetCpuReadView () const
function GetCpuWriteView
CpuWriteView mediapipe::Tensor::GetCpuWriteView (
uint64_t source_location_hash=tensor_internal::FnvHash64(builtin_FILE(), builtin_LINE())
) const
function GetOpenGlBufferReadView
OpenGlBufferView mediapipe::Tensor::GetOpenGlBufferReadView () const
function GetOpenGlBufferWriteView
OpenGlBufferView mediapipe::Tensor::GetOpenGlBufferWriteView (
uint64_t source_location_hash=tensor_internal::FnvHash64(builtin_FILE(), builtin_LINE())
) const
function GetOpenGlTexture2dReadView
OpenGlTexture2dView mediapipe::Tensor::GetOpenGlTexture2dReadView () const
function GetOpenGlTexture2dWriteView
OpenGlTexture2dView mediapipe::Tensor::GetOpenGlTexture2dWriteView () const
function Tensor [1/4]
mediapipe::Tensor::Tensor (
ElementType element_type,
const Shape & shape,
MemoryManager * memory_manager=nullptr,
int memory_alignment=0
)
function Tensor [2/4]
mediapipe::Tensor::Tensor (
ElementType element_type,
const Shape & shape,
const QuantizationParameters & quantization_parameters,
MemoryManager * memory_manager=nullptr,
int memory_alignment=0
)
function Tensor [3/4]
mediapipe::Tensor::Tensor (
const Tensor &
) = delete
function Tensor [4/4]
mediapipe::Tensor::Tensor (
Tensor && src
)
function bytes
inline int mediapipe::Tensor::bytes () const
function element_size
inline int mediapipe::Tensor::element_size () const
function element_type
inline ElementType mediapipe::Tensor::element_type () const
function operator=
Tensor & mediapipe::Tensor::operator= (
const Tensor &
) = delete
function operator=
Tensor & mediapipe::Tensor::operator= (
Tensor && src
)
function quantization_parameters
inline const QuantizationParameters & mediapipe::Tensor::quantization_parameters () const
function ready_as_ahwb
inline bool mediapipe::Tensor::ready_as_ahwb () const
inline bool mediapipe::Tensor::ready_as_metal_buffer () const
function ready_as_opengl_buffer
inline bool mediapipe::Tensor::ready_as_opengl_buffer () const
function ready_as_opengl_texture_2d
inline bool mediapipe::Tensor::ready_as_opengl_texture_2d () const
function ready_on_cpu
inline bool mediapipe::Tensor::ready_on_cpu () const
function ready_on_gpu
inline bool mediapipe::Tensor::ready_on_gpu () const
function shape
inline const Shape & mediapipe::Tensor::shape () const
function ~Tensor
mediapipe::Tensor::~Tensor ()
The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR-plugins/hand_tracking/mediapipe/framework/formats/tensor.h