Struct rai_core::primitives::ReduceMin
source · pub struct ReduceMin {
pub dims: Vec<usize>,
pub keep_dim: bool,
}
Fields§
§dims: Vec<usize>
§keep_dim: bool
Implementations§
Trait Implementations§
source§impl PartialEq for ReduceMin
impl PartialEq for ReduceMin
source§impl Primitive for ReduceMin
impl Primitive for ReduceMin
fn clone_boxed(&self) -> Box<dyn Primitive>
fn dot_label(&self) -> String
fn as_any(&self) -> &dyn Any
fn jvp( &self, output: &Tensor, primals: &[Tensor], tangents: &[Tensor] ) -> Tensor
fn vjp( &self, output: &Tensor, primals: &[Tensor], cotangent: &Tensor ) -> Vec<Tensor>
impl Eq for ReduceMin
impl StructuralPartialEq for ReduceMin
Auto Trait Implementations§
impl Freeze for ReduceMin
impl RefUnwindSafe for ReduceMin
impl Send for ReduceMin
impl Sync for ReduceMin
impl Unpin for ReduceMin
impl UnwindSafe for ReduceMin
Blanket Implementations§
source§impl<T, M> ApplyModule<M> for Twhere
M: Module<Input = T>,
impl<T, M> ApplyModule<M> for Twhere
M: Module<Input = T>,
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