Tensorflow.js tf.unstack() Function
The tf.unstack() function is used to unstack a tf,tensors into an r-1 rank tf.tensor.
- x: a tensor object.
- axis: It is an axis of the unstack along.
Return Value: It returns tf.Tensor
Tensor [1, 2] Tensor [3, 4]
Tensor [1, 2, 3] Tensor [5, 8, 13] Tensor [21, 34, 55]