pub fn read_embedded(
path: impl AsRef<Path>,
) -> Result<ModelFiles, ModelConfigError>Expand description
The configuration files embedded in the model file at path: ONNX
metadata_props and, with the model-files feature, a ZIP trailer.
Neither the graph nor the model payload is read.
ยงErrors
ModelConfigError::Io when the file cannot be read or is a
directory, and ModelConfigError::Container when a .onnx file is not
a valid ModelProto.