From cd7785aa54b7949a8506fd0990ecb6694c97b0a7 Mon Sep 17 00:00:00 2001 From: mselensky Date: Tue, 14 May 2024 11:02:48 -0600 Subject: [PATCH] fix indent typo in tensor_test.py example --- docs/Friendly_User/gpu_containers.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/Friendly_User/gpu_containers.md b/docs/Friendly_User/gpu_containers.md index c99696059..dae673b27 100644 --- a/docs/Friendly_User/gpu_containers.md +++ b/docs/Friendly_User/gpu_containers.md @@ -152,8 +152,8 @@ Now we are ready to run the Tensorflow container. We will run the script below, gradients = tape.gradient(loss, model.trainable_variables) optimizer.apply_gradients(zip(gradients, model.trainable_variables)) - train_loss(loss) - train_accuracy(labels, predictions) + train_loss(loss) + train_accuracy(labels, predictions) # test the model @tf.function @@ -163,8 +163,8 @@ Now we are ready to run the Tensorflow container. We will run the script below, predictions = model(images, training=False) t_loss = loss_object(labels, predictions) - test_loss(t_loss) - test_accuracy(labels, predictions) + test_loss(t_loss) + test_accuracy(labels, predictions) t0 = time.time()