pub struct FinalOutput {
pub info: TensorInfo,
pub values: Vec<f32>,
}Expand description
One requested output with independent storage.
Fields§
§info: TensorInfoShape and stride metadata of the extracted tensor.
values: Vec<f32>Logical FP32 elements without channel padding.
Implementations§
Source§impl FinalOutput
impl FinalOutput
Sourcepub fn info(&self) -> TensorInfo
pub fn info(&self) -> TensorInfo
Returns the tensor metadata.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FinalOutput
impl RefUnwindSafe for FinalOutput
impl Send for FinalOutput
impl Sync for FinalOutput
impl Unpin for FinalOutput
impl UnsafeUnpin for FinalOutput
impl UnwindSafe for FinalOutput
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