Tensorflow.js tf.Tensor class .dataSync() Method
The tf.Tensor class .dataSync() method is used to synchronously download the values from the tf.Tensor.
- It takes no parameters
Return Value: It returns DataTypeMap[NumericDataType]
1, 3, 5, 4, 2
0, 1, 2, 3