pub struct CompareOptions {
pub end_with_boolean: bool,
}Fields§
§end_with_boolean: boolEnd with a boolean atom instead of a ReLU stage: fewer layers, but the executor must keep FP32 rounding at the atom, and backprop rejects it unless it is told to pass gradients straight through.
Trait Implementations§
Source§impl Clone for CompareOptions
impl Clone for CompareOptions
impl Copy for CompareOptions
Source§impl Debug for CompareOptions
impl Debug for CompareOptions
Auto Trait Implementations§
impl Freeze for CompareOptions
impl RefUnwindSafe for CompareOptions
impl Send for CompareOptions
impl Sync for CompareOptions
impl Unpin for CompareOptions
impl UnsafeUnpin for CompareOptions
impl UnwindSafe for CompareOptions
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