MxProtobufOut

Function

Defines the output data of the inference service.

Structure Definition

class MxProtobufOut:
    def __init__(self):
        self.errorCode = None
        self.messageName= None
        self.messageBuf= None

Parameter Description

Parameter

Type

Description

errorCode

int

Output error code

messageName

bytes

Key of the output protobuf data

messageBuf

bytes

Value of the output protobuf data, which needs to be deserialized to the data corresponding to the class