- TensorFlow 2.0 Quick Start Guide
- Tony Holdroyd
- 39字
- 2021-06-24 16:02:05
Finding the mean across all axes
Find the mean across all axes (that is, use the default axis = None) with this:
tf.reduce_mean(input_tensor=numbers)
#( 4. + 5. + 7. + 3.)/4 = 4.75
The output will be as follows:
<tf.Tensor: id=272, shape=(), dtype=float32, numpy=4.75>
推薦閱讀
- Microsoft Dynamics CRM Customization Essentials
- 基于C語言的程序設計
- 輕松學Java Web開發
- 自主研拋機器人技術
- Data Wrangling with Python
- Pig Design Patterns
- Android游戲開發案例與關鍵技術
- Azure PowerShell Quick Start Guide
- Salesforce Advanced Administrator Certification Guide
- Mastering pfSense
- Citrix? XenDesktop? 7 Cookbook
- 從零開始學Java Web開發
- Learning Linux Shell Scripting
- PowerPoint 2010幻燈片制作高手速成
- Kubernetes on AWS