class_docstr: Creates a network that has data dependent shapes.
class_docstr_tok: ["Creates","a","network","that","has","data","dependent","shapes","."]
code: def setUp(self):
      super().setUp()
      # The input shape depends on random input data. It can happen that we do
      # not have engine for the actual shape. Therefore we enable native segment
      # execution.
      os.environ[
          "TF_TRT_ALLOW_ENGINE_NATIVE_SEGMENT_EXECUTION"
      ] = "True"
  
file_path: tensorflow-upstream/tensorflow/python/compiler/tensorrt/test/data_dependent_shape_test.py
imports: import os
  from unittest import SkipTest
  from tensorflow.python.compiler.tensorrt.test import tf_trt_integration_test_base
  from tensorflow.python.framework import dtypes
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 3 for calling the TrtModeTestBase obj's underlying member method code with example usage: obj.setUp() without return types