https://www.emgu.com
Create a Tensor from the native tensorflow lite tensor pointer
Namespace:
Emgu.TF.Lite
Assembly:
Emgu.TF.Lite (in Emgu.TF.Lite.dll) Version: 2.19.0.1709+574f567263f3c76bb77304b9eeb79ab6660ba101
Syntaxpublic Tensor(
IntPtr ptr,
bool needDispose
)
Public Sub New (
ptr As IntPtr,
needDispose As Boolean
)
public:
Tensor(
IntPtr ptr,
bool needDispose
)
new :
ptr : IntPtr *
needDispose : bool -> Tensor
Parameters
- ptr
- Type: SystemIntPtr
A native tensorflow lite tensor pointer - needDispose
- Type: SystemBoolean
If true, we need to dispose the tensor upon object disposal. If false, we assume the tensor will be freed by the parent object.
See Also