code: def test_named_input_dict_io(self):
      input_a = Input(shape=(3,), batch_size=2, name="a")
      x = layers.Dense(5)(input_a)
      outputs = layers.Dense(4)(x)
  
      model = Functional(input_a, outputs)
  
      # Eager call
      in_val = {"a": np.random.random((2, 3))}
      out_val = model(in_val)
      self.assertEqual(out_val.shape, (2, 4))
  
      # Symbolic call
      input_a_2 = Input(shape=(3,), batch_size=2)
      in_val = {"a": input_a_2}
      out_val = model(in_val)
      self.assertEqual(out_val.shape, (2, 4))
  
imports: import warnings
  import numpy
  import pytest
  from keras import backend
  from keras import layers
  from keras import testing
  from keras.layers.core.input_layer import Input
  from keras.layers.input_spec import InputSpec
  from keras.models import Functional
  from keras.models import Model
label_desc: Use image node_id 6 for calling the FunctionalTest obj's underlying member method code with example usage: obj.test_named_input_dict_io() without return types