Do not install tensorflow 2.18.0 as it gives an error

This commit is contained in:
Ayaz Salikhov
2024-10-28 14:06:50 +00:00
parent a1265be650
commit f74a764584
2 changed files with 1 additions and 8 deletions

View File

@@ -1,13 +1,6 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
import os
import tensorflow as tf
# Suppress logging warnings
# https://stackoverflow.com/a/78803598
os.environ["GRPC_VERBOSITY"] = "ERROR"
os.environ["GLOG_minloglevel"] = "2"
print(tf.constant("Hello, TensorFlow"))
print(tf.reduce_sum(tf.random.normal([1000, 1000])))