Function MSModelGetOutputByTensorName

Function Documentation

MSTensorHandle MSModelGetOutputByTensorName(const MSModelHandle model, const char *tensor_name)

Obtain the output tensor handle of the model by name.

参数
  • model[in] Model object handle.

  • tensor_name[in] The name of tensor.

返回

The output tensor handle with the given name, if the name is not found, an NULL is returned.