TensorFlow.js Tutorial (Cont.)
Creating a Tensor
The main data type in TensorFlow is the tensor, which is created from any N-dimensional array with the tf.tensor()
function:
Tensor Shape
A tensor can also be created from an array and a shape parameter.