class_docstr: Unit tests for policy gradient.
class_docstr_tok: ["Unit","tests","for","policy","gradient","."]
code: def _setup_parameters(self, params):
      params.policy_representation = "nn"
      params.policy_network_hidden_layers = "[2]"
      params.value_function_representation = "nn"
      params.value_network_hidden_layers = "[2]"
      params.relative_step_size = 0.5
      params.regularization_weight = 0.001
      params.initial_eta = 0.1
      params.eta_decay_step_count = 10
      params.eta_minimum = 0.01
      params.gamma = 0.9
      params.preprocessing = ""
      params.preprocessing_args = "()"
      params.shared_representation = False
      params.update_frequency = 4
      params.initial_policy_network = ""
      params.momentum = 0.95
  
imports: import unittest
  import cntk.contrib.deeprl.tests.spaces
  import numpy
  from cntk.contrib.deeprl.agent.policy_gradient import ActorCritic
  from cntk.layers import Dense
  from cntk.losses import cross_entropy_with_softmax
  from cntk.ops import input_variable, placeholder
label_desc: Use image node_id 13 for calling the PolicyGradientTest obj's underlying member method code with example usage: obj._setup_parameters(params) without return types