class_docstr: Tests pg losses.
      
docstr: Tests `pg_losses_with_logits`.
          
docstr_tok: ["Tests","`","pg_losses_with_logits","`","."]
code: def test_pg_losses_with_logits(self):
      """Tests `pg_losses_with_logits`."""
      self._test_sequence_loss(
          tx.losses.pg_loss_with_logits,
          self._actions_batch,
          self._logits_batch,
          self._advantages_batch,
          True,
          self._sequence_length,
      )
  
      self._test_sequence_loss(
          tx.losses.pg_loss_with_logits,
          self._actions_no_batch,
          self._logits_no_batch,
          self._advantages_no_batch,
          False,
          self._sequence_length,
      )
  
imports: import tensorflow
  import texar.tf
label_desc: Use image node_id 3 for calling the PGLossesTest obj's underlying member method code with example usage: obj.test_pg_losses_with_logits() without return types