[−][src]Trait tract_hir::internal::PulsedOp
Required methods
fn as_op(&self) -> &(dyn Op + 'static)
Reinterpret the PulsedOp as an Op.
fn as_op_mut(&mut self) -> &mut (dyn Op + 'static)
Reinterpret the PulsedOp as an Op, mutably.
fn to_typed(&self) -> Box<dyn TypedOp + 'static>
Reinterpret the PulsedOp as an TypedOp.
fn pulsed_output_facts(
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
Deduce output facts from input facts.
Trait Implementations
impl AsMut<dyn Op + 'static> for dyn PulsedOp + 'static
[src]
impl AsRef<dyn Op + 'static> for dyn PulsedOp + 'static
[src]
Implementations on Foreign Types
impl PulsedOp for Reduce
[src]
fn pulsed_output_facts(
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
[src]
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
fn as_op(&self) -> &(dyn Op + 'static)
[src]
fn as_op_mut(&mut self) -> &mut (dyn Op + 'static)
[src]
fn to_typed(&self) -> Box<dyn TypedOp + 'static>
[src]
impl PulsedOp for MergeOpUnicast
[src]
fn pulsed_output_facts(
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
[src]
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
fn as_op(&self) -> &(dyn Op + 'static)
[src]
fn as_op_mut(&mut self) -> &mut (dyn Op + 'static)
[src]
fn to_typed(&self) -> Box<dyn TypedOp + 'static>
[src]
impl PulsedOp for PulsedSource
[src]
fn pulsed_output_facts(
&self,
_inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
[src]
&self,
_inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
fn to_typed(&self) -> Box<dyn TypedOp + 'static>
[src]
fn as_op(&self) -> &(dyn Op + 'static)
[src]
fn as_op_mut(&mut self) -> &mut (dyn Op + 'static)
[src]
impl PulsedOp for TypedBinOp
[src]
fn pulsed_output_facts(
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
[src]
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
fn as_op(&self) -> &(dyn Op + 'static)
[src]
fn as_op_mut(&mut self) -> &mut (dyn Op + 'static)
[src]
fn to_typed(&self) -> Box<dyn TypedOp + 'static>
[src]
impl PulsedOp for UnaryOp
[src]
fn pulsed_output_facts(
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
[src]
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
fn as_op(&self) -> &(dyn Op + 'static)
[src]
fn as_op_mut(&mut self) -> &mut (dyn Op + 'static)
[src]
fn to_typed(&self) -> Box<dyn TypedOp + 'static>
[src]
impl PulsedOp for ElementWiseOp
[src]
fn pulsed_output_facts(
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
[src]
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
fn as_op(&self) -> &(dyn Op + 'static)
[src]
fn as_op_mut(&mut self) -> &mut (dyn Op + 'static)
[src]
fn to_typed(&self) -> Box<dyn TypedOp + 'static>
[src]
impl PulsedOp for Delay
[src]
fn pulsed_output_facts(
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
[src]
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
fn as_op(&self) -> &(dyn Op + 'static)
[src]
fn as_op_mut(&mut self) -> &mut (dyn Op + 'static)
[src]
fn to_typed(&self) -> Box<dyn TypedOp + 'static>
[src]
impl PulsedOp for MergeOp
[src]
fn pulsed_output_facts(
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
[src]
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
fn as_op(&self) -> &(dyn Op + 'static)
[src]
fn as_op_mut(&mut self) -> &mut (dyn Op + 'static)
[src]
fn to_typed(&self) -> Box<dyn TypedOp + 'static>
[src]
impl PulsedOp for MatMulUnary
[src]
fn pulsed_output_facts(
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
[src]
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
fn as_op(&self) -> &(dyn Op + 'static)
[src]
fn as_op_mut(&mut self) -> &mut (dyn Op + 'static)
[src]
fn to_typed(&self) -> Box<dyn TypedOp + 'static>
[src]
Implementors
impl PulsedOp for AxisOp
[src]
fn pulsed_output_facts(
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
[src]
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
fn as_op(&self) -> &(dyn Op + 'static)
[src]
fn as_op_mut(&mut self) -> &mut (dyn Op + 'static)
[src]
fn to_typed(&self) -> Box<dyn TypedOp + 'static>
[src]
impl PulsedOp for AvgPool
[src]
fn pulsed_output_facts(
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
[src]
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
fn as_op(&self) -> &(dyn Op + 'static)
[src]
fn as_op_mut(&mut self) -> &mut (dyn Op + 'static)
[src]
fn to_typed(&self) -> Box<dyn TypedOp + 'static>
[src]
impl PulsedOp for ConvUnary
[src]
fn pulsed_output_facts(
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
[src]
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
fn as_op(&self) -> &(dyn Op + 'static)
[src]
fn as_op_mut(&mut self) -> &mut (dyn Op + 'static)
[src]
fn to_typed(&self) -> Box<dyn TypedOp + 'static>
[src]
impl PulsedOp for MaxPool
[src]
fn pulsed_output_facts(
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
[src]
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
fn as_op(&self) -> &(dyn Op + 'static)
[src]
fn as_op_mut(&mut self) -> &mut (dyn Op + 'static)
[src]
fn to_typed(&self) -> Box<dyn TypedOp + 'static>
[src]
impl PulsedOp for Downsample
[src]
fn pulsed_output_facts(
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
[src]
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
fn as_op(&self) -> &(dyn Op + 'static)
[src]
fn as_op_mut(&mut self) -> &mut (dyn Op + 'static)
[src]
fn to_typed(&self) -> Box<dyn TypedOp + 'static>
[src]
impl PulsedOp for Identity
[src]
fn pulsed_output_facts(
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
[src]
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
fn as_op(&self) -> &(dyn Op + 'static)
[src]
fn as_op_mut(&mut self) -> &mut (dyn Op + 'static)
[src]
fn to_typed(&self) -> Box<dyn TypedOp + 'static>
[src]
impl PulsedOp for DequantizeLinearF32
[src]
fn pulsed_output_facts(
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
[src]
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
fn as_op(&self) -> &(dyn Op + 'static)
[src]
fn as_op_mut(&mut self) -> &mut (dyn Op + 'static)
[src]
fn to_typed(&self) -> Box<dyn TypedOp + 'static>
[src]
impl PulsedOp for Scan
[src]
fn pulsed_output_facts(
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
[src]
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
fn as_op(&self) -> &(dyn Op + 'static)
[src]
fn as_op_mut(&mut self) -> &mut (dyn Op + 'static)
[src]
fn to_typed(&self) -> Box<dyn TypedOp + 'static>
[src]
impl<D> PulsedOp for Slice<D> where
D: DimLike + ToDim + Hash,
[src]
D: DimLike + ToDim + Hash,
fn pulsed_output_facts(
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>
[src]
&self,
inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>