获得模型输入的对应Tensor的数据类型信息。
1
input_dtype(index: int)
参数名
类型
说明
index
int
模型输入的索引(第index个输入)。
返回输入Tensor的数据类型,base.dtype类型。