Interface TensorConstructor¶
Interface TensorConstructor
interface TensorConstructor {
new Tensor(type, shape, tensorData?): Tensor;
}
Defined in addon.ts:66
constructor
new Tensor(type, shape, tensorData?): Tensor
Parameters
type: elementTypeString | element
shape: number[]
Optional
tensorData: number[]|SupportedTypedArray
Returns Tensor
Defined in addon.ts:67