waffle::op_traits

Function op_outputs

Source
pub fn op_outputs(
    module: &Module<'_>,
    op_stack: Option<&[(Type, Value)]>,
    op: &Operator,
) -> Result<Cow<'static, [Type]>>
Expand description

Given a module and an existing operand stack for context, provide the type(s) that a given operator provides as outputs.