code: def __init__(self):
      # Uses a separate graph for each network.
      with tf.Graph().as_default():
          # Create the network.
          loss, init, _, _ = make_linear_network()
          sess = tf.Session()
          # Additional code for setting and getting the weights.
          variables = ray.experimental.tf_utils.TensorFlowVariables(
              loss, sess
          )
      # Return all of the data needed to use the network.
      self.values = [variables, init, sess]
      sess.run(init)
  
imports: from numpy.testing import assert_almost_equal
  import ray
  import ray.experimental.tf_utils
  from ray.rllib.utils.framework import try_import_tf
label_desc: Use image node_id 1 to create a new NetActor object  with example: obj = NetActor()