Specify the element type.
Specify the tensor data
Optional
dims: readonly number[]Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.
Construct a new bool tensor object from the given type, data and dims.
Specify the element type.
Specify the tensor data
Optional
dims: readonly number[]Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.
Construct a new numeric tensor object from the given type, data and dims.
Specify the element type.
Specify the tensor data
Optional
dims: readonly number[]Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.
Construct a new float32 tensor object from the given data and dims.
Specify the tensor data
Optional
dims: readonly number[]Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.
Construct a new int8 tensor object from the given data and dims.
Specify the tensor data
Optional
dims: readonly number[]Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.
Construct a new uint8 tensor object from the given data and dims.
Specify the tensor data
Optional
dims: readonly number[]Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.
Construct a new uint16 tensor object from the given data and dims.
Specify the tensor data
Optional
dims: readonly number[]Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.
Construct a new int16 tensor object from the given data and dims.
Specify the tensor data
Optional
dims: readonly number[]Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.
Construct a new int32 tensor object from the given data and dims.
Specify the tensor data
Optional
dims: readonly number[]Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.
Construct a new int64 tensor object from the given data and dims.
Specify the tensor data
Optional
dims: readonly number[]Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.
Construct a new string tensor object from the given data and dims.
Specify the tensor data
Optional
dims: readonly number[]Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.
Construct a new bool tensor object from the given data and dims.
Specify the tensor data
Optional
dims: readonly number[]Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.
Construct a new float64 tensor object from the given data and dims.
Specify the tensor data
Optional
dims: readonly number[]Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.
Construct a new uint32 tensor object from the given data and dims.
Specify the tensor data
Optional
dims: readonly number[]Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.
Construct a new uint64 tensor object from the given data and dims.
Specify the tensor data
Optional
dims: readonly number[]Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.
Construct a new tensor object from the given type, data and dims.
Specify the element type.
Specify the tensor data
Optional
dims: readonly number[]Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.
Construct a new tensor object from the given data and dims.
Specify the tensor data
Optional
dims: readonly number[]Specify the dimension of the tensor. If omitted, a 1-D tensor is assumed.
Generated using TypeDoc
Construct a new string tensor object from the given type, data and dims.