pub struct TrainingCompileResult {
pub forward: CompileResult,
pub backward: CompileResult,
pub weights: SharedWeightLayout,
}Expand description
Forward + backward LIR with a single shared weight region.
Fields§
§forward: CompileResult§backward: CompileResult§weights: SharedWeightLayoutTrait Implementations§
Source§impl Clone for TrainingCompileResult
impl Clone for TrainingCompileResult
Source§fn clone(&self) -> TrainingCompileResult
fn clone(&self) -> TrainingCompileResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TrainingCompileResult
impl RefUnwindSafe for TrainingCompileResult
impl Send for TrainingCompileResult
impl Sync for TrainingCompileResult
impl Unpin for TrainingCompileResult
impl UnsafeUnpin for TrainingCompileResult
impl UnwindSafe for TrainingCompileResult
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