Python – tensorflow.IndexedSlices.dtype 属性
TensorFlow是谷歌设计的开源Python库,用于开发机器学习模型和深度学习神经网络。
dtype用于查找Tensor中的值的类型。
语法: tensorflow.IndexedSlices.dtype
返回:它返回张量中元素的dtype。
示例 1:
输出:
示例 2:
输出:
TensorFlow是谷歌设计的开源Python库,用于开发机器学习模型和深度学习神经网络。
dtype用于查找Tensor中的值的类型。
语法: tensorflow.IndexedSlices.dtype
返回:它返回张量中元素的dtype。
示例 1:
输出:
示例 2:
输出: