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.
Optional
axis: numberAxis to be flipped
Repeat the elements n times along the axis this.
Repeated count
Optional
axis: numberAxis 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
Optional
init: numberValue of the extended region
Set the value at the specific position.
Index values
Set value
Shuffle along the axis.
Optional
axis: numberAxis
Returns a string represented this tensor.
String represented this tensor
Static
fromStatic
onesStatic
randnReturns a tensor initialized normal random values.
Sizes for each dimension
Optional
myu: numberMean value of the Tensor
Optional
sigma: numberVariance value of the Tensor
Tensor initialized normal random values
Static
randomReturns a tensor initialized uniform random values.
Sizes for each dimension
Optional
min: numberMinimum value of the Tensor
Optional
max: numberMaximum value of the Tensor
Tensor initialized uniform random values
Static
zeros
Tensor class