ts.protocol package¶
Submodules¶
ts.protocol.otf_message_handler module¶
OTF Codec
- ts.protocol.otf_message_handler.create_load_model_response(code, message)[source]¶
Create load model response.
- Parameters:
code –
message –
- Returns:
- ts.protocol.otf_message_handler.create_predict_response(ret, req_id_map, message, code, context=None, ts_stream_next=False)[source]¶
Create inference response.
- Parameters:
context –
ret –
req_id_map –
message –
code –
- Returns: