def match_pattern(
        self,
        node: _torch.fx.Node,
        modules: _Dict[str, _torch.nn.Module],
        env: _Dict[str, _Any],
    ) -> bool:
        """
        Determines whether the input node matches the requirements for the transform
        to take place and returns the result.
        """
        pass

        Determines whether the input node matches the requirements for the transform
        to take place and returns the result.
        
coremltools/optimize/torch/_utils/transforms.py