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.

Extract the ith output from the graph executor and write the results into output.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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