pub fn cleanup_external_inputs_and_outputs(net: *mut NetDef)
Expand description

| Given a net, modify the external inputs/outputs | if necessary so that the following conditions | are met | | - No duplicate external inputs | | - No duplicate external outputs | | - Going through list of ops in order, | all op inputs must be outputs from other | ops, or registered as external inputs. | | - All external outputs must be outputs | of some operators. |