keras/src/legacy/preprocessing/image.py/BatchFromFilesMixin/sample_weight
class BatchFromFilesMixin:    def sample_weight(self):
        raise NotImplementedError(
            "`sample_weight` property method has not "
            "been implemented in {}.".format(type(self).__name__)
        )