TensorFlow测试程序,如果正常运行,输出 b'hello,tensorf' ,则TensorFlow安装成功。

import tensorflow as tf
hello = tf.constant('hello,tensorf')
sess = tf.Session()
print(sess.run(hello))

相关文章:

  • 2022-02-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-31
  • 2021-09-11
  • 2021-11-18
  • 2021-11-08
猜你喜欢
  • 2022-12-23
  • 2022-01-06
  • 2021-11-11
  • 2021-11-19
  • 2021-11-13
  • 2022-02-05
相关资源
相似解决方案