Function caffe2_imports::read_proto_from_file
source · pub fn read_proto_from_file<M>(filename: *const u8, proto: *mut M) -> boolwhere
M: Message,
Expand description
| Read Proto from a file, letting the code | figure out if it is text or binary. |