Click or drag to resize

Tensor Properties

https://www.emgu.com

The Tensor type exposes the following members.

Properties
  NameDescription
Public propertyAllocationType
How memory is mapped kTfLiteMmapRo: Memory mapped read only. i.e. weights kTfLiteArenaRw: Arena allocated read write memory (i.e. temporaries, outputs).
Public propertyByteSize
The number of bytes required to store the data of this Tensor. I.e. (bytes of each element) * dims[0] * ... * dims[n-1]. For example, if type is kTfLiteFloat32 and dims = {3, 2} then bytes = sizeof(float) * 3 * 2 = 4 * 3 * 2 = 24.
Public propertyData
Get a copy of the tensor data as a managed array
Public propertyDataPointer
A raw data pointers.
Public propertyDims
Get the size of the dimensions of the tensor
Public propertyDisposed
Returns true if the object has been disposed.
(Inherited from DisposableObject.)
Public propertyJaggedData
Get the tensor data as a jagged array
Public propertyName
Name of this tensor.
Public propertyPtr
Pointer to the unmanaged object
(Inherited from UnmanagedObject.)
Public propertyQuantizationParams
Quantization information.
Public propertyType
The data type specification for data stored in `data`. This affects what member of `data` union should be used.
Top
See Also