def METHOD_NAME(self, inputs, outputs, op, name, attrs):
    for out in outputs:
        out.inputs.clear()
    return self.layer(op=op,
                      inputs=inputs,
                      outputs=outputs,
                      name=name,
                      attrs=attrs
                      )