用例对应的源代码,觉得有帮助可以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
本文标题:TensorFlow学习笔记(6)tf.square,求平方和
本文链接:https://www.haomeiwen.com/subject/fhjnxqtx.html
网友评论