Trait tract_hir::ops::expandable::Expansion[][src]

pub trait Expansion: DynClone + Debug + Send + Sync + Downcast + DynHash {
    fn name(&self) -> Cow<'_, str>;
fn op_families(&self) -> &'static [&'static str]
Notable traits for &'_ mut [u8]
impl<'_> Write for &'_ mut [u8]impl<'_> Read for &'_ [u8]
;
fn wire(
        &self,
        prefix: &str,
        model: &mut TypedModel,
        inputs: &[OutletId]
    ) -> TractResult<TVec<OutletId>>;
fn rules<'r, 'p: 'r, 's: 'r>(
        &'s self,
        s: &mut Solver<'r>,
        inputs: &'p [TensorProxy],
        outputs: &'p [TensorProxy]
    ) -> InferenceResult; fn validation(&self) -> Validation { ... }
fn info(&self) -> TractResult<Vec<String>> { ... }
fn nboutputs(&self) -> TractResult<usize> { ... } }

Required methods

Provided methods

Implementors