qonnx.transformation.remove (module)
- class qonnx.transformation.remove.RemoveIdentityOps(atol=1e-05)
Bases:
qonnx.transformation.base.TransformationRemove identity ops like Add/Sub with zero or Mul/Div with one. A tolerance value (defaults to 1e-05) can be specified during init for the comparison to zero/one.
- apply(model)
- qonnx.transformation.remove.remove_node_and_rewire(model, node)