Function tract_hir::ops::expandable::inference_wrap
source ยท pub fn inference_wrap<O, R>(
op: O,
outputs: usize,
rules: R
) -> Box<dyn InferenceOp>where
O: TypedOp,
R: for<'r, 'p, 's> Fn(&'s dyn Op, &mut Solver<'r>, &'p [TensorProxy], &'p [TensorProxy]) -> InferenceResult + Send + Sync + 'static,