Tensor Constructor (DataType, Int32) |
http://www.emgu.com
Allocate a new tensor. The caller must set the Tensor values by writing them to the DataPointer
with length ByteSize.
Namespace:
Emgu.TF
Assembly:
Emgu.TF.Netstandard (in Emgu.TF.Netstandard.dll) Version: 2.2.0.932
Syntaxpublic Tensor(
DataType dataType,
int[] dims
)
Public Sub New (
dataType As DataType,
dims As Integer()
)
public:
Tensor(
DataType dataType,
array<int>^ dims
)
new :
dataType : DataType *
dims : int[] -> Tensor
Parameters
- dataType
- Type: Emgu.TFDataType
The type of data - dims
- Type: SystemInt32
The size for each of the dimension of the tensor
See Also