keras/src/dtype_policies/dtype_policy.py/QuantizedFloat8DTypePolicy/__eq__
class QuantizedFloat8DTypePolicy:    def __eq__(self, other):
        if super().__eq__(other) is False:
            return False
        return self._amax_history_length == other._amax_history_length