[−][src]Struct tract_hir::internal::AxisInfo
Translation invariance property.
Fields
inputs: SmallVec<[Option<usize>; 4]>
outputs: SmallVec<[Option<usize>; 4]>
period: usize
disposable: bool
Implementations
impl AxisInfo
[src]
pub fn simple(axis: usize) -> AxisInfo
[src]
pub fn with_period(self, period: usize) -> AxisInfo
[src]
pub fn disposable(self, disposable: bool) -> AxisInfo
[src]
pub fn for_node(
_model: &ModelImpl<TypedFact, Box<dyn TypedOp + 'static>>,
node: &BaseNode<TypedFact, Box<dyn TypedOp + 'static>>,
axis: usize
) -> Result<AxisInfo, TractError>
[src]
_model: &ModelImpl<TypedFact, Box<dyn TypedOp + 'static>>,
node: &BaseNode<TypedFact, Box<dyn TypedOp + 'static>>,
axis: usize
) -> Result<AxisInfo, TractError>
Trait Implementations
impl Clone for AxisInfo
[src]
impl Debug for AxisInfo
[src]
impl Default for AxisInfo
[src]
impl Eq for AxisInfo
[src]
impl FromIterator<AxisInfo> for Invariants
[src]
fn from_iter<T>(iter: T) -> Invariants where
T: IntoIterator<Item = AxisInfo>,
[src]
T: IntoIterator<Item = AxisInfo>,
impl Hash for AxisInfo
[src]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<AxisInfo> for AxisInfo
[src]
impl StructuralEq for AxisInfo
[src]
impl StructuralPartialEq for AxisInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for AxisInfo
impl Send for AxisInfo
impl Sync for AxisInfo
impl Unpin for AxisInfo
impl UnwindSafe for AxisInfo
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>,