首页 > 技术文章 > 博客园的第二篇日志

chenzhen0530 原文

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

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))

手敲累死???

推荐阅读