[][src]Struct tract_hir::ops::scan::OutputMapping

pub struct OutputMapping<F> where
    F: Clone
{ pub full_slot: Option<usize>, pub axis: usize, pub chunk: isize, pub full_dim_hint: Option<F>, pub last_value_slot: Option<usize>, pub state: bool, }

Fields

full_slot: Option<usize>axis: usizechunk: isizefull_dim_hint: Option<F>last_value_slot: Option<usize>state: bool

Implementations

impl<F> OutputMapping<F> where
    F: Clone
[src]

pub fn invisible(&self) -> bool[src]

impl<F> OutputMapping<F> where
    F: DimLike + Clone
[src]

pub fn concretize_stream_dim(
    &self,
    stream_dim: usize
) -> Result<OutputMapping<F>, TractError>
[src]

impl<F> OutputMapping<F> where
    F: Clone
[src]

pub fn new(
    full_slot: Option<usize>,
    axis: usize,
    chunk: isize,
    full_dim_hint: Option<F>,
    last_value_slot: Option<usize>,
    state: bool
) -> OutputMapping<F>
[src]

Constructs a new OutputMapping.

Trait Implementations

impl<F> Clone for OutputMapping<F> where
    F: Clone
[src]

impl<F> Debug for OutputMapping<F> where
    F: Clone + Display
[src]

impl<F> Hash for OutputMapping<F> where
    F: Clone + Hash
[src]

Auto Trait Implementations

impl<F> RefUnwindSafe for OutputMapping<F> where
    F: RefUnwindSafe

impl<F> Send for OutputMapping<F> where
    F: Send

impl<F> Sync for OutputMapping<F> where
    F: Sync

impl<F> Unpin for OutputMapping<F> where
    F: Unpin

impl<F> UnwindSafe for OutputMapping<F> where
    F: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> DynClone for T where
    T: Clone
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.