Tensor Class |
Namespace: Emgu.TF
The Tensor type exposes the following members.
Name | Description | |
---|---|---|
![]() | Tensor(Double) |
Create a Tensor that consist of a single float value
|
![]() | Tensor(Double) |
Create a Tensor that consist of an array of double value
|
![]() | Tensor(Int16) |
Create a Tensor that consist of a single int16 value
|
![]() | Tensor(Int32) |
Create a Tensor that consist of a single int value
|
![]() | Tensor(Int32) |
Create a Tensor that consist of an array of int value
|
![]() | Tensor(Int64) |
Create a Tensor that consist of a single int64 value
|
![]() | Tensor(Single) |
Create a Tensor that consist of a single float value
|
![]() | Tensor(Single) |
Create a Tensor that consist of an array of float value
|
![]() | Tensor(UInt16) |
Create a Tensor that consist of an array of UInt16 value
|
![]() | Tensor(UInt32) |
Create a Tensor that consist of an array of UInt32 value
|
![]() | Tensor(UInt64) |
Create a Tensor that consist of an array of UInt64 value
|
![]() | Tensor(DataType, Int32) |
Allocate a new tensor. The caller must set the Tensor values by writing them to the DataPointer
with length ByteSize.
|
Name | Description | |
---|---|---|
![]() | ByteSize |
Return the size of the underlying data in bytes.
|
![]() | Data |
Get the tensor data as a managed array
|
![]() | DataPointer |
Get the native pointer to the tensor data
|
![]() | Dim |
Return the dimension of the tensor
|
![]() | Disposed |
Returns true if the object has been disposed.
(Inherited from DisposableObject.) |
![]() | JaggedData |
Get the tensor data as a jagged array
|
![]() | Ptr |
Pointer to the unmanaged object
(Inherited from UnmanagedObject.) |
![]() | Type |
Get the type of data from this tensor
|
Name | Description | |
---|---|---|
![]() | DecodeString |
Decode a string encoded
|
![]() | Dispose |
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.) |
![]() | DisposeObject |
Release the unmanaged memory associated with this tensor
(Overrides DisposableObjectDisposeObject.) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize |
Destructor
(Inherited from DisposableObject.) |
![]() | FlatT |
Get the tensor data as a flatten single dimension array
|
![]() ![]() | FromString |
Convert a byte array to a Tensor
|
![]() | GetData |
Get a copy of the tensor data as a managed array
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ReleaseManagedResources |
Release the managed resources. This function will be called during the disposal of the current object.
override ride this function if you need to call the Dispose() function on any managed IDisposable object created by the current object
(Inherited from DisposableObject.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | _ptr |
A pointer to the unmanaged object
(Inherited from UnmanagedObject.) |