def is_valid_op(self, op):
        """
        Checks whether an operation is valid for given quantized transform.

        :param op: MIL operation
        :return: true | false
        """
        raise NotImplementedError(
            'Operation Preconditions for quantization mode "{}" not implemented.'.format(self)
        )

        Checks whether an operation is valid for given quantized transform.

        :param op: MIL operation
        :return: true | false
        
coremltools/converters/mil/mil/passes/defs/quantization.py