get_data_type

函数功能

获取Tensor中的数据类型。

函数原型

1
get_data_type(self) -> np.type

参数说明

返回值

返回Tensor的数据类型。返回的类型为numpy的dtype。

异常处理

约束说明