src/transformers/models/lxmert/modeling_tf_lxmert.py/TFLxmertModel/call
class TFLxmertModel:    def call(
        self,
        input_ids: Optional[TFModelInputType] = None,
        visual_feats: Optional[tf.Tensor] = None,
        visual_pos: Optional[tf.Tensor] = None,
        attention_mask: Optional[Union[np.ndarray, tf.Tensor]] = None,
        visual_attention_mask: Optional[Union[np.ndarray, tf.Tensor]] = None,
        token_type_ids: Optional[Union[np.ndarray, tf.Tensor]] = None,
        inputs_embeds: Optional[Union[np.ndarray, tf.Tensor]] = None,
        output_attentions: Optional[bool] = None,
        output_hidden_states: Optional[bool] = None,
        return_dict: Optional[bool] = None,
        training: bool = False,
    ) -> Union[Tuple, TFLxmertModelOutput]:
        outputs = self.lxmert(
            input_ids,
            visual_feats,
            visual_pos,
            attention_mask,
            visual_attention_mask,
            token_type_ids,
            inputs_embeds,
            output_attentions,
            output_hidden_states,
            return_dict,
            training,
        )

        return outputs