用例对应的源代码,觉得有帮助可以Star
import tensorflow as tf
# tf.square(
# x,
# name=None
# )
#
# Computes square of x element-wise.
with tf.Session() as sess:
print(sess.run(tf.square(3))) # 9
用例对应的源代码,觉得有帮助可以Star
import tensorflow as tf
# tf.square(
# x,
# name=None
# )
#
# Computes square of x element-wise.
with tf.Session() as sess:
print(sess.run(tf.square(3))) # 9