MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / input_names

Method input_names

flow-rs/src/graph/mod.rs:76–78  ·  view source on GitHub ↗

Get inputs names

(&self)

Source from the content-addressed store, hash-verified

74 }
75 /// Get inputs names
76 pub fn input_names(&self) -> Vec<&str> {
77 self.graph.inputs.iter().map(|x| x.as_str()).collect()
78 }
79 /// Get outputs names
80 pub fn output_names(&self) -> Vec<&str> {
81 self.graph.outputs.iter().map(|x| x.as_str()).collect()

Callers 1

newMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected