code: def test_get_config(self):
      # Check save and restore config.
      restored_network = dnn.DNNRankingNetwork.from_config(
          self.network.get_config()
      )
      self.assertEqual(
          restored_network.context_feature_columns[
              "query_length"
          ].get_config(),
          self.context_feature_columns["query_length"].get_config(),
      )
      self.assertEqual(
          restored_network.example_feature_columns[
              "utility"
          ].get_config(),
          self.example_feature_columns["utility"].get_config(),
      )
      self.assertEqual(
          restored_network.example_feature_columns[
              "unigrams"
          ].get_config(),
          self.example_feature_columns["unigrams"].get_config(),
      )
      self.assertEqual(
          restored_network._hidden_layer_dims, [10, 10, 10]
      )
      self.assertEqual(restored_network._activation, tf.nn.relu)
      self.assertEqual(restored_network._dropout, 0.5)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow.compat.v2
  from tensorflow_ranking.python.keras import losses
  from tensorflow_ranking.python.keras import metrics
  from tensorflow_ranking.python.keras import model
  from tensorflow_ranking.python.keras.canned import dnn
label_desc: Use image node_id 2 for calling the DNNRankingNetworkTest obj's underlying member method code with example usage: obj.test_get_config() without return types