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