Struct tvm::runtime::graph_rt::GraphRt [−][src]
pub struct GraphRt { /* fields omitted */ }
Expand description
An instance of the C++ graph executor.
An efficient and light weight runtime for static deep learning models.
Implementations
Create a graph executor directly from a runtime module.
Create a graph executor from the deprecated graph, lib, dev triple.
Load the parameters of the model into the runtime.
Set the input with name name
with the value of input
.
Run the graph module, once setting parameters and inputs.
Extract the ith output from the graph executor and returns it.
Auto Trait Implementations
impl RefUnwindSafe for GraphRt
impl UnwindSafe for GraphRt
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more