当前位置:网站首页>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))

边栏推荐
- radix-4 FFT principle and C language code implementation
- Activity的四种启动模式
- Redis源码-String:Redis String命令、Redis String存储原理、Redis字符串三种编码类型、Redis String SDS源码解析、Redis String应用场景
- matplotlib
- 每日sql--统计员工近三个月的总薪水(不包括最新一个月)
- LeetCode刷题系列 -- 46. 全排列
- Taobao API interface reference
- Taobao sku API interface (PHP example)
- 软件测试基本流程有哪些?北京专业第三方软件检测机构安利
- Daily SQL - find each of the students school gpa minimum (window)
猜你喜欢

进制转换间的那点事

Discourse 的关闭主题(Close Topic )和重新开放主题

一种用于EEG超扫描研究的分析流程

第一个C函数:如何实现板级初始化?

Daily sql-employee bonus filtering and answer rate ranking first

【推荐系统】:协同过滤和基于内容过滤概述

When MySQL uses GROUP BY to group the query, the SELECT query field contains non-grouping fields

数仓开发知识总结

radix-4 FFT principle and C language code implementation

公牛10-11德里克·罗斯最强赛季记录
随机推荐
js判断图片是否存在
Pinduoduo API interface (attach my available API)
Multiscale communication in cortical-cortical networks
MySQL 版本升级心得
sql--Users who have purchased more than 3 times (inclusive) within 7 days (including the current day), and the purchase amount in the past 7 days exceeds 1,000
2022-08-09 Group 4 Self-cultivation class study notes (every day)
【推荐系统】:协同过滤和基于内容过滤概述
Douyin share password url API tool
Service的两种状态形式
Unity开发者必备的C#脚本技巧
Taobao API interface reference
prometheus学习5altermanager
maxwell concept
网络电话软件或迎整顿 “免费”通话须迈安全关
opencv实现数据增强(图片+标签)平移,翻转,缩放,旋转
How to choose professional, safe and high-performance remote control software
SQL sliding window
LeetCode brushing series -- 46. Full arrangement
伦敦银规则有哪些?
Service的两种启动方式与区别