code: def _setUp_a2c_loss(
      self,
      multi_actions=False,
      normalise_entropy=False,
      gae_lambda=1,
      sequence_length=4,
      batch_size=2,
      num_mvn_actions=3,
      num_discrete_actions=5,
  ):
      (
          policies,
          self._actions,
          self._policy_vars,
          entropy_scale_op,
      ) = _setup_pgops(
          multi_actions=multi_actions,
          sequence_length=sequence_length,
          normalise_entropy=normalise_entropy,
          batch_size=batch_size,
          num_mvn_actions=num_mvn_actions,
          num_discrete_actions=num_discrete_actions,
      )
  
      t, b = sequence_length, batch_size
      entropy_cost, baseline_cost = 0.1, 0.2
      self._baseline_values = tf.placeholder(tf.float32, shape=(t, b))
      self._rewards = tf.placeholder(tf.float32, shape=(t, b))
      self._pcontinues = tf.placeholder(tf.float32, shape=(t, b))
      self._bootstrap_value = tf.placeholder(tf.float32, shape=(b,))
      self._loss, self._extra = pg_ops.sequence_a2c_loss(
          policies=policies,
          baseline_values=self._baseline_values,
          actions=self._actions,
          rewards=self._rewards,
          pcontinues=self._pcontinues,
          bootstrap_value=self._bootstrap_value,
          policy_vars=self._policy_vars,
          lambda_=gae_lambda,
          entropy_cost=entropy_cost,
          baseline_cost=baseline_cost,
          entropy_scale_op=entropy_scale_op,
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  import numpy
  from six.moves import xrange
  import tensorflow.compat.v1
  import tensorflow_probability
  import tree
  from trfl import policy_gradient_ops
label_desc: Use image node_id 1 for calling the SequenceA2CLossTest obj's underlying member method code with example usage: obj._setUp_a2c_loss(multi_actions, normalise_entropy, gae_lambda, sequence_length, batch_size, num_mvn_actions, num_discrete_actions) without return types