code: def _long_tensor(tok_lst):
      return tf.constant(tok_lst, dtype=tf.int32)
  
imports: from __future__ import annotations
  import copy
  import tempfile
  import unittest
  import numpy
  from transformers import BartConfig, BartTokenizer, is_tf_available
  from transformers.testing_utils import require_tf, slow
  from transformers.utils import cached_property
  from ...test_configuration_common import ConfigTester
  from ...test_modeling_tf_common import TFModelTesterMixin, ids_tensor
  from ...test_pipeline_mixin import PipelineTesterMixin
  from ...utils.test_modeling_tf_core import TFCoreModelTesterMixin
label_desc: Use image node_id 2 for calling a global function with example usage: _long_tensor(tok_lst) and returns: tf