class_docstr: Unit tests for KerasLayer.
class_docstr_tok: ["Unit","tests","for","KerasLayer","."]
code: def test_load_with_defaults(self):
      model_format = "TF2SavedModel_SavedRaw"
      export_dir = os.path.join(
          self.get_temp_dir(), "plus_one_" + model_format
      )
      _dispatch_model_format(
          model_format, _save_plus_one_saved_model_v2, export_dir
      )
      inputs, expected_outputs = (
          10.0,
          11.0,
      )  # Test modules perform increment op.
      layer = hub.KerasLayer(export_dir)
      output = layer(inputs)
      self.assertEqual(output, expected_outputs)
  
imports: import json
  import os
  from absl.testing import parameterized
  import numpy
  import tensorflow
  import tensorflow_hub
label_desc: Use image node_id 1 for calling the KerasLayerTest obj's underlying member method code with example usage: obj.test_load_with_defaults() without return types