class_docstr: Small model used for tests.
class_docstr_tok: ["Small","model","used","for","tests","."]
code: def __init__(self):
      super(AddNet, self).__init__(
          tensor_spec.TensorSpec((), tf.float32), (), "add_net"
      )
      self.var = tf.Variable(0.0, dtype=tf.float32)
  
imports: import os
  import numpy
  import tensorflow.compat.v2
  from tf_agents.networks import network
  from tf_agents.policies import greedy_policy
  from tf_agents.policies import policy_loader
  from tf_agents.policies import policy_saver
  from tf_agents.policies import q_policy
  from tf_agents.specs import tensor_spec
  from tf_agents.trajectories import time_step
  from tf_agents.utils import common
  from tf_agents.utils import test_utils
label_desc: Use image node_id 1 to create a new AddNet object from inherited base classes: network with example: obj = AddNet()