pub struct TensorList<'t> { /* private fields */ }Expand description
A list of tensors returned by interpreter output queries.
This list only hands out shared references to the tensors it describes. Use
TensorListMut (returned by Interpreter::inputs)
when you need to mutate the tensors.
Implementations§
Source§impl<'t> TensorList<'t>
impl<'t> TensorList<'t>
Trait Implementations§
Source§impl Debug for TensorList<'_>
impl Debug for TensorList<'_>
Source§impl Drop for TensorList<'_>
impl Drop for TensorList<'_>
Source§impl<'t, 'tl> IntoIterator for &'tl TensorList<'t>
impl<'t, 'tl> IntoIterator for &'tl TensorList<'t>
Auto Trait Implementations§
impl<'t> Freeze for TensorList<'t>
impl<'t> RefUnwindSafe for TensorList<'t>
impl<'t> !Send for TensorList<'t>
impl<'t> !Sync for TensorList<'t>
impl<'t> Unpin for TensorList<'t>
impl<'t> UnsafeUnpin for TensorList<'t>
impl<'t> UnwindSafe for TensorList<'t>
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