pub fn infer_shapes(program: &mut IrProgram)
Run shape inference on all graphs in the program. Modifies node output_type in place.