code: def test_input_node_of_tfnet_from_session(self):
      import tensorflow as tff
  
      input1 = tff.placeholder(dtype=tff.float32, shape=(None, 2))
      input2 = tff.placeholder(dtype=tff.float32, shape=(None, 2))
      hidden = tff.layers.dense(input1, 4)
      output = tff.layers.dense(hidden, 1)
      sess = tff.Session()
      sess.run(tff.global_variables_initializer())
      tmp_dir = tempfile.mkdtemp()
      modelPath = os.path.join(tmp_dir, "model")
      raised_error = False
      try:
          export_tf(
              sess, modelPath, inputs=[input1, input2], outputs=[output]
          )
      except RuntimeError as v:
          assert ((str(v)).find((input2.name)[0:-2])) != -1
          raised_error = True
      finally:
          try:
              shutil.rmtree(modelPath)  # delete directory
          except OSError as exc:
              if (
                  exc.errno != errno.ENOENT
              ):  # ENOENT - no such file or directory
                  raise  # re-raise exception
  
      if not raised_error:
          raise ValueError("we do not find this error, test failed")
  
imports: import errno
  import shutil
  import pytest
  from bigdl.dllib.nn.criterion import *
  from bigdl.dllib.nn.layer import *
  from bigdl.dllib.optim.optimizer import *
  from numpy.testing import assert_allclose
  from pyspark.ml import Pipeline, PipelineModel
  from pyspark.ml.feature import MinMaxScaler
  from pyspark.ml.tuning import ParamGridBuilder
  from pyspark.sql.types import *
  from bigdl.dllib.nncontext import *
  from bigdl.dllib.feature.common import *
  from bigdl.dllib.feature.image import *
  from bigdl.dllib.keras import layers
  from bigdl.dllib.keras.models import Model
  from bigdl.dllib.keras.optimizers import Adam
  from bigdl.dllib.nnframes import *
  from bigdl.dllib.utils.tf import *
  from pyspark.sql.functions import array
  from pyspark.ml.linalg import DenseVector, VectorUDT
  from pyspark.sql.functions import udf, array
label_desc: Use image node_id 37 for calling the TestNNClassifer obj's underlying member method code with example usage: obj.test_input_node_of_tfnet_from_session() without return types