Trait ExpLayerTrait

Source
pub trait ExpLayerTrait: ActivationLayerTrait + ExpLayerTraitConst {
    // Required method
    fn as_raw_mut_ExpLayer(&mut self) -> *mut c_void;

    // Provided methods
    fn set_base(&mut self, val: f32) { ... }
    fn set_scale(&mut self, val: f32) { ... }
    fn set_shift(&mut self, val: f32) { ... }
}
Expand description

Mutable methods for crate::dnn::ExpLayer

Required Methods§

Provided Methods§

Source

fn set_base(&mut self, val: f32)

Source

fn set_scale(&mut self, val: f32)

Source

fn set_shift(&mut self, val: f32)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§