Trait rai_core::ops::ReduceArgs

source ·
pub trait ReduceArgs: Debug {
    // Required method
    fn dims(&self) -> &impl Dims;

    // Provided method
    fn keep_dim(&self) -> bool { ... }
}

Required Methods§

source

fn dims(&self) -> &impl Dims

Provided Methods§

source

fn keep_dim(&self) -> bool

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> ReduceArgs for (T, bool)
where T: Dims,

source§

fn dims(&self) -> &impl Dims

source§

fn keep_dim(&self) -> bool

source§

impl<T> ReduceArgs for (T, bool, usize)
where T: Dims,

source§

fn dims(&self) -> &impl Dims

source§

fn keep_dim(&self) -> bool

source§

impl<T> ReduceArgs for (T, usize)
where T: Dims,

source§

fn dims(&self) -> &impl Dims

source§

fn keep_dim(&self) -> bool

Implementors§

source§

impl<T> ReduceArgs for T
where T: Dims,