I'm looking at the TensorFlow tutorial, so please tell me what the following part means and whether it's a mistake.
https://www.tensorflow.org/tutorials/quickstart/beginner?hl=ja
predictions=model(x_train[:1]).numpy()
predictions
What does the second line of predictions mean?
python3 tensorflow
Run in Google Colab
is close to the beginning, and there is also a description that says, "This file is a Google Collaboration notebook file."You may want to try it from the top to the bottom.
What does the second line of predictions mean?
Rather than Python, as Jupiter (lab | notebook) / Google Colaboratory, the last designation of the cell when running the cell is the display of the results.
In this case, the contents of the variable predictions
will be displayed
© 2024 OneMinuteCode. All rights reserved.