keras/src/layers/core/embedding.py/Embedding/_quantization_mode_error
class Embedding:    def _quantization_mode_error(self, mode):
        return NotImplementedError(
            "Invalid quantization mode. Expected 'int8'. "
            f"Received: quantization_mode={mode}"
        )