Element type
Dimension of the tensor.
Number of all elements in the tensor.
Sizes of the tensor.
Elements in the tensor.
Returns this tensor is equals to the others.
Check tensor
true if equal
Flip values along the axis.
Optionalaxis: number
Axis to be flipped
Repeat the elements n times along the axis this.
Repeated count
Optionalaxis: number
Axis to be repeated
Repeat the elements n times along the axis this.
Repeated counts of each axis
Reshape this as the sizes.
New sizes for each dimension
Reshape this as the sizes.
New sizes for each dimension
Resize this tensor.
New sizes
Optionalinit: number
Value of the extended region
Set the value at the specific position.
Index values
Set value
Shuffle along the axis.
Optionalaxis: number
Axis
Returns a string represented this tensor.
String represented this tensor
StaticfromStaticonesStaticrandnReturns a tensor initialized normal random values.
Sizes for each dimension
Optionalmyu: number
Mean value of the Tensor
Optionalsigma: number
Variance value of the Tensor
Tensor initialized normal random values
StaticrandomReturns a tensor initialized uniform random values.
Sizes for each dimension
Optionalmin: number
Minimum value of the Tensor
Optionalmax: number
Maximum value of the Tensor
Tensor initialized uniform random values
Staticzeros
Tensor class