in which ${STREAM_NAME} indicates the inference stream name.
in which ${MODEL_NAME} indicates the model name.
The request body of an inference request must contain inputs, whose value must be a list. For details, see the JSON field of an inference request in Request Configuration Items. For details about the tensor corresponding to inputs, see Tensor configuration items in Inference Configuration Items. The last parameter data in the table must be set for an inference request.
For details about the inference response, see the JSON field in an inference response in Request Configuration Items. The following table describes the parameters.
Field Name |
Description |
Data Type |
|---|---|---|
isSuccess |
Whether the inference is successful |
Boolean |
errorCode |
Error code |
Integer |
errorMsg |
Error message |
String |
outputs |
Output tensor |
Tensor |