Skip to main content

inline_for_partition

Function inline_for_partition 

Source
pub fn inline_for_partition(
    model: &mut ModelProto,
) -> Result<usize, CompileError>
Expand description

Inline every wire-touching or pure-ONNX function at every CALL site. Iterates to a fixed point because inlining a wire-touching callee may itself reveal a new wire-touching caller. Returns the total number of CALL replacements performed.