code: def testFlexWithAutomaticPassThrough(self):
      # Create a graph that has one L2Loss op.
      with ops.Graph().as_default():
          with session.Session() as sess:
              in_tensor = array_ops.placeholder(
                  shape=[4], dtype=dtypes.float32, name="input"
              )
              out_tensor = nn_ops.l2_loss(in_tensor)
              converter = lite.TFLiteConverter.from_session(
                  sess, [in_tensor], [out_tensor]
              )
              converter.target_spec.supported_ops = set(
                  [lite.OpsSet.SELECT_TF_OPS]
              )
              converter._experimental_allow_all_select_tf_ops = True
              tflite_model = converter.convert()
      self.assertTrue(tflite_model)
      self.assertIn(
          "FlexL2Loss", tflite_test_util.get_ops_list(tflite_model)
      )
  
imports: import os
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow.core.framework import graph_pb2
  from tensorflow.lite.python import lite
  from tensorflow.lite.python import test_util
  from tensorflow.lite.python.convert import register_custom_opdefs
  from tensorflow.lite.python.interpreter import Interpreter
  from tensorflow.lite.python.testdata import double_op
  from tensorflow.python.client import session
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.framework.importer import import_graph_def
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import list_ops
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
  from tensorflow.python.saved_model import saved_model
  from tensorflow.python.trackable import autotrackable
label_desc: Use image node_id 2 for calling the FromSessionTest obj's underlying member method code with example usage: obj.testFlexWithAutomaticPassThrough() without return types