Skip to main content

encode_model_proto

Function encode_model_proto 

Source
pub fn encode_model_proto(model: &Model<'_>) -> Result<ModelProto, LoaderError>
Expand description

Build the ModelProto for model without serialising it (useful when the caller wants to mutate the proto before encoding, e.g. the §55.4 writer splicing in EPContext nodes).