code: def test_input_dict_with_extra_field(self):
      input_a = Input(shape=(3,), batch_size=2, name="a")
      x = input_a * 5
      outputs = x + 2
  
      model = Functional({"a": input_a}, outputs)
  
      # Eager call
      with warnings.catch_warnings():
          warnings.simplefilter("error")
          in_val = {
              "a": np.random.random((2, 3)),
              "b": np.random.random((2, 1)),
          }
          out_val = model(in_val)
          self.assertEqual(out_val.shape, (2, 3))
  
      with warnings.catch_warnings():
          warnings.simplefilter("error")
          # Symbolic call
          input_a_2 = Input(shape=(3,), batch_size=2)
          input_b_2 = Input(shape=(1,), batch_size=2)
          in_val = {"a": input_a_2, "b": input_b_2}
          out_val = model(in_val)
          self.assertEqual(out_val.shape, (2, 3))
  
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 7 for calling the FunctionalTest obj's underlying member method code with example usage: obj.test_input_dict_with_extra_field() without return types