Module - utils#
Proto utils.
Functions
Convert bytes and metadata to model protobuf. |
|
|
Construct model proto from tensor dict. |
|
Construct named tensor. |
|
Construct proto. |
|
Convert the datastream to the protobuf. |
|
Deconstruct model proto. |
|
Deconstruct the protobuf. |
|
Dump the protobuf to a file. |
|
Get headers from context. |
|
Load the protobuf. |
|
Convert the model protobuf to bytes and metadata. |
|
Convert the protobuf to the datastream for the remote connection. |