[−][src]Struct openvino::CNNNetwork
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]
&mut self,
input_name: &str,
algorithm: ResizeAlgorithm
) -> Result<(), InferenceError>
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]
&mut self,
input_name: &str,
layout: Layout
) -> Result<(), InferenceError>
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]
&mut self,
input_name: &str,
precision: Precision
) -> Result<(), InferenceError>
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]
&mut self,
output_name: &str,
precision: Precision
) -> Result<(), InferenceError>
Configure the precision for the output tensor at output_name
.
Trait Implementations
impl Drop for CNNNetwork
[src]
Auto Trait Implementations
impl RefUnwindSafe for CNNNetwork
[src]
impl !Send for CNNNetwork
[src]
impl !Sync for CNNNetwork
[src]
impl Unpin for CNNNetwork
[src]
impl UnwindSafe for CNNNetwork
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,