Struct mvnc::graph::Graph [] [src]

pub struct Graph<'a> { /* fields omitted */ }

Methods

impl<'a> Graph<'a>
[src]

[src]

Allocates a graph on an opened device.

[src]

Loads an input tensor. The type In is most likely ::half::f16.

Returns the id of the calculation.

[src]

Gets the next result. The type Out is most likely ::half::f16.

Returns the id of the calculation and its output.

Noteworthy errors: * Idle: there are no pending calculations * NoData: pending calculation is not ready, occurs only if Blocking::DontBlock is set. * ApiError: size of result data is not a multiple of the size of Out.

[src]

Gets the setting for blocking behaviour.

[src]

Sets the setting for blocking behaviour.

[src]

Gets the times taken per stage.

[src]

Gets debug info which will be present after some Error::MyriadError.

Trait Implementations

impl<'a> Drop for Graph<'a>
[src]

[src]

Executes the destructor for this type. Read more