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