第二篇日志,同样用于测试。

import tensorflow as tf
import numpy as np

a = np.array([1, 2])
b = tf.convert_to_tensor(a)

with tf.Session as sess:
    print(sess.run(b))

手敲累死???

相关文章:

  • 2021-06-04
  • 2021-12-07
  • 2021-05-25
  • 2021-10-05
  • 2022-12-23
  • 2022-12-23
  • 2021-11-05
  • 2021-10-22
猜你喜欢
  • 2022-02-28
  • 2022-12-23
  • 2021-08-21
  • 2021-08-14
  • 2021-10-11
  • 2021-10-16
  • 2021-07-03
相关资源
相似解决方案