pub struct PixProConfig {
pub temperature: f32,
pub propagation_iters: usize,
pub eps: f32,
}Expand description
Configuration for the PixPro loss.
Fields§
§temperature: f32Temperature τ for the similarity-weighted propagation (default: 0.2).
propagation_iters: usizeNumber of propagation iterations (default: 1).
eps: f32Numerical epsilon for L2-normalisation (default: 1e-8).
Trait Implementations§
Source§impl Clone for PixProConfig
impl Clone for PixProConfig
Source§fn clone(&self) -> PixProConfig
fn clone(&self) -> PixProConfig
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 PixProConfig
impl Debug for PixProConfig
Auto Trait Implementations§
impl Freeze for PixProConfig
impl RefUnwindSafe for PixProConfig
impl Send for PixProConfig
impl Sync for PixProConfig
impl Unpin for PixProConfig
impl UnsafeUnpin for PixProConfig
impl UnwindSafe for PixProConfig
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