当前位置:网站首页>Square, multi-power, square root calculation in Tf

Square, multi-power, square root calculation in Tf

2022-08-11 07:51:00 phac123

import tensorflow as tfa = tf.fill([1, 2], 9.)print("a: ", a)print("a cubed: ", tf.pow(a, 3))print("a squared: ", tf.square(a))print("Prescription of a: ", tf.sqrt(a))

insert image description here

原网站

版权声明
本文为[phac123]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/223/202208110645027804.html