[][src]Struct openvino::CNNNetwork

pub struct CNNNetwork { /* fields omitted */ }

Implementations

impl CNNNetwork[src]

pub fn get_input_name(&self, index: usize) -> Result<String, InferenceError>[src]

Retrieve the name identifying the input tensor at index.

pub fn get_output_name(&self, index: usize) -> Result<String, InferenceError>[src]

Retrieve the name identifying the output tensor at index.

pub fn set_input_resize_algorithm(
    &mut self,
    input_name: &str,
    algorithm: ResizeAlgorithm
) -> Result<(), InferenceError>
[src]

Configure a resize algorithm for the input tensor at input_name.

pub fn set_input_layout(
    &mut self,
    input_name: &str,
    layout: Layout
) -> Result<(), InferenceError>
[src]

Configure a layout for the input tensor at input_name.

pub fn set_input_precision(
    &mut self,
    input_name: &str,
    precision: Precision
) -> Result<(), InferenceError>
[src]

Configure the precision for the input tensor at input_name.

pub fn set_output_precision(
    &mut self,
    output_name: &str,
    precision: Precision
) -> Result<(), InferenceError>
[src]

Configure the precision for the output tensor at output_name.

Trait Implementations

impl Drop for CNNNetwork[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.