pub struct ModelOutput<B: Backend> {
pub logits: Tensor<B, 3>,
pub diagnostics: Option<ModelDiagnostics>,
pub spectral: Option<SpectralDiagnostics>,
}Fields§
§logits: Tensor<B, 3>§diagnostics: Option<ModelDiagnostics>§spectral: Option<SpectralDiagnostics>Auto Trait Implementations§
impl<B> Freeze for ModelOutput<B>where
<B as Backend>::FloatTensorPrimitive: Freeze,
<B as Backend>::QuantizedTensorPrimitive: Freeze,
impl<B> RefUnwindSafe for ModelOutput<B>where
<B as Backend>::FloatTensorPrimitive: RefUnwindSafe,
<B as Backend>::QuantizedTensorPrimitive: RefUnwindSafe,
impl<B> Send for ModelOutput<B>
impl<B> Sync for ModelOutput<B>
impl<B> Unpin for ModelOutput<B>
impl<B> UnsafeUnpin for ModelOutput<B>where
<B as Backend>::FloatTensorPrimitive: UnsafeUnpin,
<B as Backend>::QuantizedTensorPrimitive: UnsafeUnpin,
impl<B> UnwindSafe for ModelOutput<B>where
<B as Backend>::FloatTensorPrimitive: UnwindSafe,
<B as Backend>::QuantizedTensorPrimitive: UnwindSafe,
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