keras/src/layers/preprocessing/index_lookup.py/IndexLookup/save_own_variables
class IndexLookup:    def save_own_variables(self, store):
        if self.output_mode == "tf_idf":
            store["idf_weights"] = self.idf_weights_const.numpy()