Understanding TensorFlow Tutorial Codes

Asked 2 years ago, Updated 2 years ago, 324 views

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

2022-09-30 22:00

1 Answers

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


2022-09-30 22:00

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.