get_data_type
产品支持情况
产品 |
是否支持 |
---|---|
x |
|
√ |
|
x |
|
x |
|
x |
函数功能
获取Tensor中的数据类型。
函数原型
1 | get_data_type(self) -> np.type |
参数说明
无
返回值
返回Tensor的数据类型。返回的类型为numpy的dtype。
异常处理
无
约束说明
无
父主题: Tensor类
产品 |
是否支持 |
---|---|
x |
|
√ |
|
x |
|
x |
|
x |
获取Tensor中的数据类型。
1 | get_data_type(self) -> np.type |
无
返回Tensor的数据类型。返回的类型为numpy的dtype。
无
无