Search code examples
node.jstensorflowpredictiontensortensorflow.js

model.predict.print() does not show all results in tensorflow.js


after loading the model, the predictions are shown as below:

Tensor
    [[0.5050125, 0.6573772],
     [0.5050992, 0.6576715],
     [0.5049844, 0.6572819],
     ...,
     [0.5045587, 0.6558315],
     [0.5050324, 0.6574449],
     [0.5043802, 0.6552206]]

How do I make it display all the results instead of "..."?


Solution

  • Found this answer on TensorFlow.js print whole tensor

    I could print all the values in the tensor.