input_dtype
Function Usage
Obtains the data type of the input tensor.
Prototype
1 | input_dtype(index: int) |
Input Parameters
Parameter |
Type |
Description |
|---|---|---|
index |
int |
Index of the model input (the indexth input) |
Response Parameters
Data type (base.dtype) of the input tensor
Parent topic: Model