当前位置:网站首页>Tf中的平方,多次方,开方计算
Tf中的平方,多次方,开方计算
2022-08-11 06:45:00 【phac123】
import tensorflow as tf
a = tf.fill([1, 2], 9.)
print("a: ", a)
print("a的三次方: ", tf.pow(a, 3))
print("a的平方: ", tf.square(a))
print("a的开方: ", tf.sqrt(a))
边栏推荐
- 从 dpdk-20.11 移植 intel E810 百 G 网卡 pmd 驱动到 dpdk-16.04 中
- Daily sql-employee bonus filtering and answer rate ranking first
- Discourse's Close Topic and Reopen Topic
- 伦敦银规则有哪些?
- JVM学习——3——数据一致性
- Daily sql: request for friend application pass rate
- SQL sliding window
- 【软件测试】(北京)字节跳动科技有限公司终面HR面试题
- 【latex异常和错误】Missing $ inserted.<inserted text>You can‘t use \spacefactor in math mode.输出文本要注意特殊字符的转义
- 恒源云-Pycharm远程训练避坑指南
猜你喜欢
如何选择专业、安全、高性能的远程控制软件
【软件测试】(北京)字节跳动科技有限公司终面HR面试题
radix-4 FFT principle and C language code implementation
Attitude solution - gyroscope + Euler method
伦敦银规则有哪些?
公牛10-11德里克·罗斯最强赛季记录
Taobao API interface reference
常见激活函数及其导数
Pinduoduo API interface (attach my available API)
JD.com product details API call example explanation
随机推荐
【软件测试】(北京)字节跳动科技有限公司二面笔试题
2022-08-09 Group 4 Self-cultivation class study notes (every day)
STM32CUBEIDE(11)----输出PWM及修改PWM频率与占空比
Unity游戏排行榜的制作与优化
每日sql-统计各个专业人数(包括专业人数为0的)
Douyin API interface
Discourse 的关闭主题(Close Topic )和重新开放主题
linux 安装mysql服务报错
daily sql - query for managers and elections with at least 5 subordinates
Redis源码:Redis源码怎么查看、Redis源码查看顺序、Redis外部数据结构到Redis内部数据结构查看源码顺序
如何选择专业、安全、高性能的远程控制软件
Trill keyword search goods - API
进制转换间的那点事
从 dpdk-20.11 移植 intel E810 百 G 网卡 pmd 驱动到 dpdk-16.04 中
已解决EROR 1064 (42000): You have an error in. your SOL syntax. check the manual that corresponds to yo
daily sql - user retention rate for two days
pytorch,numpy两种方法实现nms类间+类内
Pinduoduo API interface
Pinduoduo api interface application example
Pico neo3 Unity打包设置