Struct rcudnn::utils::NormalizationConfig
source · pub struct NormalizationConfig { /* private fields */ }
Expand description
Provides a convenient interface to access cuDNN’s Normalization (LRN) Descriptor.
You woudn’t use this struct yourself, but rather obtain it through Cudnn.init_normalization()
.
Implementations§
source§impl NormalizationConfig
impl NormalizationConfig
sourcepub fn new(lrn_desc: NormalizationDescriptor) -> NormalizationConfig
pub fn new(lrn_desc: NormalizationDescriptor) -> NormalizationConfig
Returns a new LRN Config.
sourcepub fn lrn_desc(&self) -> &NormalizationDescriptor
pub fn lrn_desc(&self) -> &NormalizationDescriptor
Returns lrn_desc
.
Auto Trait Implementations§
impl RefUnwindSafe for NormalizationConfig
impl !Send for NormalizationConfig
impl !Sync for NormalizationConfig
impl Unpin for NormalizationConfig
impl UnwindSafe for NormalizationConfig
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