'upload_weights' Response

The 'upload_weights' response returns the count of weights successfully uploaded in the operation.

The following table describes the 'upload_weights' response parameters.

'upload_weights' response parameters

Name Type Description

result_code

int

transaction result code. 'result_code' is always returned in a response.

'0' on success.

If the transaction fails, the 'result_code' is other than 0.

error_msg

string

more specific description of the error.

Returned only when the 'result_code' is other than 0.

uploaded_count

int

number of successfully uploaded weights.

Returned only when