pub struct TensorOutput {
pub name: String,
pub shape: Vec<usize>,
pub data: Vec<f32>,
}Expand description
Output descriptor from TensorRT execution
Fields§
§name: String§shape: Vec<usize>§data: Vec<f32>Trait Implementations§
Source§impl Clone for TensorOutput
impl Clone for TensorOutput
Source§fn clone(&self) -> TensorOutput
fn clone(&self) -> TensorOutput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TensorOutput
impl RefUnwindSafe for TensorOutput
impl Send for TensorOutput
impl Sync for TensorOutput
impl Unpin for TensorOutput
impl UnwindSafe for TensorOutput
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