We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c87c98 commit ac2a13fCopy full SHA for ac2a13f
src/saved_model.rs
@@ -496,7 +496,7 @@ impl SavedModelSaver {
496
let mut meta_graph = self.meta_graph.clone();
497
let graph_bytes = graph.graph_def()?;
498
let graph_def = protobuf::Message::parse_from_bytes(&graph_bytes).map_err(|e| {
499
- <Status as Into<SaveModelError>>::into(Status::new_set_lossy(
+ SaveModelError::from(Status::new_set_lossy(
500
Code::InvalidArgument,
501
&format!("Unable to parse graph definition: {}", e),
502
))
0 commit comments