Skip to main content

read_model_metadata

Function read_model_metadata 

Source
pub fn read_model_metadata<'a>(
    model: &'a ModelProto,
    key: &str,
) -> Option<&'a str>
Expand description

Read a ModelProto.metadata_props entry by key. Returns the borrowed value string; None when the key isn’t present.