- 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)>
推薦閱讀
- Hands-On Neural Networks with Keras
- CSS全程指南
- 21天學通C++
- Hands-On Cybersecurity with Blockchain
- Implementing Oracle API Platform Cloud Service
- 工業(yè)機器人操作與編程
- 走近大數(shù)據(jù)
- 學練一本通:51單片機應用技術(shù)
- The DevOps 2.1 Toolkit:Docker Swarm
- Mastering Predictive Analytics with scikit:learn and TensorFlow
- Data Analysis with R(Second Edition)
- 穿越計算機的迷霧
- Practical AWS Networking
- 計算機硬件技術(shù)基礎(第2版)
- 菜鳥起飛電腦組裝·維護與故障排查