docstr: Wrap `check_pt_tf_models` to further check PT -> TF again
docstr_tok: ["Wrap","`","check_pt_tf_models","`","to","further","check","PT","-",">","TF","again"]
code: def check_pt_tf_equivalence(self, tf_model, pt_model, tf_inputs_dict):
      """Wrap `check_pt_tf_models` to further check PT -> TF again"""
  
      self.check_pt_tf_models(tf_model, pt_model, tf_inputs_dict)
  
      # PT -> TF
      with tempfile.TemporaryDirectory() as tmpdirname:
          pt_model.save_pretrained(tmpdirname)
          tf_model = TFVisionEncoderDecoderModel.from_pretrained(
              tmpdirname
          )
  
      self.check_pt_tf_models(tf_model, pt_model, tf_inputs_dict)
  
imports: from __future__ import annotations
  import copy
  import os
  import tempfile
  import unittest
  import numpy
  from transformers import is_tf_available, is_torch_available, is_vision_available
  from transformers.testing_utils import is_pt_tf_cross_test, require_tf, require_torch, require_vision, slow, torch_device
  from transformers.utils.generic import ModelOutput
  from ...test_modeling_tf_common import floats_tensor, ids_tensor
  from ..gpt2.test_modeling_tf_gpt2 import TFGPT2ModelTester
  from ..vit.test_modeling_tf_vit import TFViTModelTester
label_desc: Use image node_id 14 for calling the TFVisionEncoderDecoderMixin obj's underlying member method code with example usage: obj.check_pt_tf_equivalence(tf_model, pt_model, tf_inputs_dict) without return types