Struct tfdeploy::model::RawModel [−][src]
Model is Tfdeploy workhouse. It wraps a protobuf tensorflow model, and runs the inference interpreter.
Fields
nodes: Vec<Node>
nodes_by_name: HashMap<String, usize>
Methods
impl RawModel
[src]
impl RawModel
pub fn node_by_name(&self, name: &str) -> Result<&Node>
[src]
pub fn node_by_name(&self, name: &str) -> Result<&Node>
pub fn node_names(&self) -> Vec<&str>
[src]
pub fn node_names(&self) -> Vec<&str>
pub fn nodes(&self) -> &[Node]
[src]
pub fn nodes(&self) -> &[Node]
Trait Implementations
impl Clone for RawModel
[src]
impl Clone for RawModel
fn clone(&self) -> RawModel
[src]
fn clone(&self) -> RawModel
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for RawModel
[src]
impl Debug for RawModel