Skip to main content

CombinedGrads

Struct CombinedGrads 

Source
pub struct CombinedGrads<B: Backend> {
    pub d_x_bnlhp: Tensor<B, 5>,
    pub d_dt_discretized_bhnl: Tensor<B, 4>,
    pub d_b_bnlgr: Tensor<B, 5>,
    pub d_c_bnlgr: Tensor<B, 5>,
    pub d_d_h: Tensor<B, 1>,
    pub d_initial_state_bhpr: Tensor<B, 4>,
    pub d_a_decay_h: Tensor<B, 1>,
}

Fields§

§d_x_bnlhp: Tensor<B, 5>§d_dt_discretized_bhnl: Tensor<B, 4>§d_b_bnlgr: Tensor<B, 5>§d_c_bnlgr: Tensor<B, 5>§d_d_h: Tensor<B, 1>§d_initial_state_bhpr: Tensor<B, 4>§d_a_decay_h: Tensor<B, 1>

Auto Trait Implementations§

§

impl<B> Freeze for CombinedGrads<B>
where <B as BackendTypes>::FloatTensorPrimitive: Freeze, <B as BackendTypes>::QuantizedTensorPrimitive: Freeze,

§

impl<B> RefUnwindSafe for CombinedGrads<B>
where <B as BackendTypes>::FloatTensorPrimitive: RefUnwindSafe, <B as BackendTypes>::QuantizedTensorPrimitive: RefUnwindSafe,

§

impl<B> Send for CombinedGrads<B>

§

impl<B> Sync for CombinedGrads<B>

§

impl<B> Unpin for CombinedGrads<B>
where <B as BackendTypes>::FloatTensorPrimitive: Unpin, <B as BackendTypes>::QuantizedTensorPrimitive: Unpin,

§

impl<B> UnsafeUnpin for CombinedGrads<B>
where <B as BackendTypes>::FloatTensorPrimitive: UnsafeUnpin, <B as BackendTypes>::QuantizedTensorPrimitive: UnsafeUnpin,

§

impl<B> UnwindSafe for CombinedGrads<B>
where <B as BackendTypes>::FloatTensorPrimitive: UnwindSafe, <B as BackendTypes>::QuantizedTensorPrimitive: UnwindSafe,

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
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.