pub struct SimClrConfig {
pub temperature: f32,
}Expand description
Configuration for SimCLR.
Fields§
§temperature: f32Temperature for InfoNCE (default 0.1).
Implementations§
Source§impl SimClrConfig
impl SimClrConfig
Trait Implementations§
Source§impl Clone for SimClrConfig
impl Clone for SimClrConfig
Source§fn clone(&self) -> SimClrConfig
fn clone(&self) -> SimClrConfig
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 moreSource§impl Debug for SimClrConfig
impl Debug for SimClrConfig
Auto Trait Implementations§
impl Freeze for SimClrConfig
impl RefUnwindSafe for SimClrConfig
impl Send for SimClrConfig
impl Sync for SimClrConfig
impl Unpin for SimClrConfig
impl UnsafeUnpin for SimClrConfig
impl UnwindSafe for SimClrConfig
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