[−][src]Struct tract_hir::ops::nn::Reduce
Implementations
impl Reduce[src]
pub fn new(axes: Option<Vec<i64>>, keep_dims: bool, reducer: Reducer) -> Self[src]
Constructs a new Reduce.
impl Reduce[src]
pub fn must_reduce(&self, ax: usize, rank: usize) -> bool[src]
Trait Implementations
impl Clone for Reduce[src]
impl Debug for Reduce[src]
impl DynHash for Reduce
impl Expansion for Reduce[src]
fn name(&self) -> Cow<str>[src]
fn info(&self) -> TractResult<Vec<String>>[src]
fn op_families(&self) -> &'static [&'static str][src]
fn rules<'r, 'p: 'r, 's: 'r>(
&'s self,
s: &mut Solver<'r>,
inputs: &'p [TensorProxy],
outputs: &'p [TensorProxy]
) -> InferenceResult[src]
&'s self,
s: &mut Solver<'r>,
inputs: &'p [TensorProxy],
outputs: &'p [TensorProxy]
) -> InferenceResult
fn wire(
&self,
name: &str,
target: &mut TypedModel,
inputs: &[OutletId]
) -> TractResult<TVec<OutletId>>[src]
&self,
name: &str,
target: &mut TypedModel,
inputs: &[OutletId]
) -> TractResult<TVec<OutletId>>
fn validation(&self) -> Validation[src]
fn nboutputs(&self) -> TractResult<usize>[src]
impl Hash for Reduce[src]
Auto Trait Implementations
impl RefUnwindSafe for Reduce
impl Send for Reduce
impl Sync for Reduce
impl Unpin for Reduce
impl UnwindSafe for Reduce
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Downcast for T where
T: Any,
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,
impl<T> DynClone for T where
T: Clone, [src]
T: Clone,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,