src/transformers/models/xglm/modeling_tf_xglm.py/TFXGLMPreTrainedModel/dummy_inputs
class TFXGLMPreTrainedModel:    def dummy_inputs(self):
        pad_token = 1
        input_ids = tf.cast(tf.convert_to_tensor(DUMMY_INPUTS), tf.int32)
        dummy_inputs = {
            "input_ids": input_ids,
            "attention_mask": tf.cast(input_ids != pad_token, tf.int32),
        }
        return dummy_inputs