Struct rai_core::primitives::ReduceMax
source · pub struct ReduceMax {
pub dims: Vec<usize>,
pub keep_dim: bool,
}
Fields§
§dims: Vec<usize>
§keep_dim: bool
Implementations§
Trait Implementations§
source§impl PartialEq for ReduceMax
impl PartialEq for ReduceMax
source§impl Primitive for ReduceMax
impl Primitive for ReduceMax
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 ReduceMax
impl StructuralPartialEq for ReduceMax
Auto Trait Implementations§
impl Freeze for ReduceMax
impl RefUnwindSafe for ReduceMax
impl Send for ReduceMax
impl Sync for ReduceMax
impl Unpin for ReduceMax
impl UnwindSafe for ReduceMax
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