src/transformers/models/layoutlmv3/modeling_tf_layoutlmv3.py/TFLayoutLMv3TextEmbeddings/create_position_ids
class TFLayoutLMv3TextEmbeddings:    def create_position_ids(self, input_ids: tf.Tensor, inputs_embeds: tf.Tensor) -> tf.Tensor:
        if input_ids is None:
            return self.create_position_ids_from_inputs_embeds(inputs_embeds)
        else:
            return self.create_position_ids_from_input_ids(input_ids)