docstr: Tests that Network.summary() does not throw an exception.
docstr_tok: ["Tests","that","Network.summary","(",")","does","not","throw","an","exception","."]
code: def test_summary_no_exception(self):
      """Tests that Network.summary() does not throw an exception."""
      observation_spec = specs.TensorSpec(
          [1], tf.float32, "observation"
      )
      action_spec = specs.TensorSpec([2], tf.float32, "action")
      net = MockNetwork(observation_spec, action_spec)
      net.create_variables()
      net.summary()
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  import tensorflow
  import tensorflow_probability
  from tf_agents import specs
  from tf_agents.distributions import utils
  from tf_agents.keras_layers import rnn_wrapper
  from tf_agents.networks import network
  from tf_agents.utils import common
label_desc: Use image node_id 7 for calling the NetworkTest obj's underlying member method code with example usage: obj.test_summary_no_exception() without return types