Struct ort::io_binding::IoBinding
source · pub struct IoBinding<'s> { /* private fields */ }
Implementations§
source§impl<'s> IoBinding<'s>
impl<'s> IoBinding<'s>
pub fn bind_input<'a, 'b: 'a, S: AsRef<str> + Clone + Debug>( &'a mut self, name: S, ort_value: Value<'b> ) -> OrtResult<()>
pub fn bind_output<S: AsRef<str> + Clone + Debug>( &mut self, name: S, mem_info: MemoryInfo ) -> OrtResult<()>
pub fn outputs(&self) -> OrtResult<HashMap<String, Value<'static>>>
Trait Implementations§
Auto Trait Implementations§
impl<'s> RefUnwindSafe for IoBinding<'s>
impl<'s> !Send for IoBinding<'s>
impl<'s> !Sync for IoBinding<'s>
impl<'s> Unpin for IoBinding<'s>
impl<'s> UnwindSafe for IoBinding<'s>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more