AsBiasDim

Trait AsBiasDim 

Source
pub trait AsBiasDim<D>
where D: Dimension,
{ // Required method fn as_bias_dim(&self) -> D; }
Expand description

The AsBiasDim trait is used to define a type that can be used to get the bias dimension of the parameters.

Required Methods§

Source

fn as_bias_dim(&self) -> D

returns the bias dimension of the parameters

Implementors§

Source§

impl<A, B> AsBiasDim<B> for A
where A: RemoveAxis<Smaller = B>, B: Dimension,