- TensorFlow 2.0 Quick Start Guide
- Tony Holdroyd
- 34字
- 2021-06-24 16:02:04
Specifying element-wise primitive tensor operations
Element-wise primitive tensor operations are specified using, as you would expect, the overloaded operators +, -, *, and /, as here:
t2*t2
The output will be as follows:
<tf.Tensor: id=555332, shape=(2, 2, 3), dtype=float32, numpy= array([[[ 0., 1., 4.], [ 9., 16., 25.]], [[ 36., 49., 64.], [ 81., 100., 121.]]], dtype=float32)>
推薦閱讀
- Visualforce Development Cookbook(Second Edition)
- LabVIEW虛擬儀器從入門到測控應用130例
- 3D Printing with RepRap Cookbook
- 數控銑削(加工中心)編程與加工
- 計算機網絡應用基礎
- 最簡數據挖掘
- Arduino &樂高創意機器人制作教程
- 基于ARM 32位高速嵌入式微控制器
- 21天學通Visual C++
- Cloudera Administration Handbook
- 項目管理成功利器Project 2007全程解析
- Photoshop行業應用基礎
- R Data Analysis Projects
- 水晶石影視動畫精粹:After Effects & Nuke 影視后期合成
- 大數據案例精析