Function MSModelGetInputByTensorName
Defined in File model_c.h
Function Documentation
-
MSTensorHandle MSModelGetInputByTensorName(const MSModelHandle model, const char *tensor_name)
Obtains the input tensor handle of the model by name.
- Parameters
model – [in] Model object handle.
tensor_name – [in] The name of tensor.
- Returns
The input tensor handle with the given name, if the name is not found, an NULL is returned.