- TensorFlow 2.0 Quick Start Guide
- Tony Holdroyd
- 60字
- 2021-06-24 16:02:04
Finding the datatype of a tensor
TensorFlow supports all of the datatypes you would expect. A full list is available at https://www.tensorflow.org/versions/r1.1/programmers_guide/dims_types and includes tf.int32 (the default integer type), tf.float32 (the default floating point type), and tf.complex64 (the complex type).
To find the datatype of a tensor, use the following dtype property:
t3.dtype
The output will be as follows:
tf.float32
推薦閱讀
- Mastering Matplotlib 2.x
- 智能傳感器技術與應用
- 最簡數據挖掘
- Photoshop CS3特效處理融會貫通
- Blender Compositing and Post Processing
- 人工智能趣味入門:光環板程序設計
- 激光選區熔化3D打印技術
- 大數據技術基礎:基于Hadoop與Spark
- Building a BeagleBone Black Super Cluster
- 水晶石影視動畫精粹:After Effects & Nuke 影視后期合成
- 大數據案例精析
- PowerMill 2020五軸數控加工編程應用實例
- 工業機器人入門實用教程
- 從零開始學ASP.NET
- 中文版Photoshop情境實訓教程