pub struct PreluGeometry {
pub channels: usize,
pub spatial: usize,
pub parameters: usize,
pub elements: usize,
}Expand description
Actual PReLU channel geometry; the original slope remains a vector rather than a broadcast allocation.
Fields§
§channels: usizeLogical channel count, or one for rank-one shared-slope input.
spatial: usizeProduct of trailing spatial extents.
parameters: usizeNumber of actual slope parameters, either one or the original channel count.
elements: usizeActual input element count.
Auto Trait Implementations§
impl Freeze for PreluGeometry
impl RefUnwindSafe for PreluGeometry
impl Send for PreluGeometry
impl Sync for PreluGeometry
impl Unpin for PreluGeometry
impl UnsafeUnpin for PreluGeometry
impl UnwindSafe for PreluGeometry
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