Rate this Page

torch.fx.passes.operator_support.chain#

torch.fx.passes.operator_support.chain(*op_support)[source]#
Combines a sequence of OperatorSupportBase instances to form a single OperatorSupportBase

instance by evaluating each input OperatorSupportBase instance, and returns False if any of it reports False.

Warning

This API is experimental and is NOT backward-compatible.

Return type:

OperatorSupportBase