torch.fx.passes.operator_support.create_op_support#
- torch.fx.passes.operator_support.create_op_support(is_node_supported)[source]#
Wraps a IsNodeSupported function into an OperatorSupportBase instance
IsNodeSupported has the same call signature as OperatorSupportBase.is_node_supported
Warning
This API is experimental and is NOT backward-compatible.
- Return type:
OperatorSupportBase