Struct menoh::Model[][src]

pub struct Model<'a, 's> { /* fields omitted */ }

Main struct running inference.

An instance of Model is built by ModelBuilder

Lifetime of Model instance is bounded by attached buffer internal data if user attached external buffer.

Methods

impl<'a, 's> Model<'a, 's>
[src]

Run model inference

Get attached buffer.

Buffer lifetime is bounded by buffer internal data

Get reference to buffer generated inside model.

Buffer lifetime is bounded by this instance.

Get dtype by name

Get dims by name

Trait Implementations

impl<'a, 's> Drop for Model<'a, 's>
[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl<'a, 's> !Send for Model<'a, 's>

impl<'a, 's> !Sync for Model<'a, 's>