ParamsRef

Struct ParamsRef 

Source
pub struct ParamsRef<A, D: Dimension> {
    pub bias: Box<RawRef<A, D::Smaller>>,
    pub weights: RawRef<A, D>,
}

Fields§

§bias: Box<RawRef<A, D::Smaller>>§weights: RawRef<A, D>

Auto Trait Implementations§

§

impl<A, D> Freeze for ParamsRef<A, D>
where D: Freeze,

§

impl<A, D> RefUnwindSafe for ParamsRef<A, D>

§

impl<A, D> !Send for ParamsRef<A, D>

§

impl<A, D> !Sized for ParamsRef<A, D>

§

impl<A, D> !Sync for ParamsRef<A, D>

§

impl<A, D> Unpin for ParamsRef<A, D>
where D: Unpin,

§

impl<A, D> UnwindSafe for ParamsRef<A, D>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more