class_docstr: Test class for VPG.
class_docstr_tok: ["Test","class","for","VPG","."]
docstr: Test VPG with no_entropy.
docstr_tok: ["Test","VPG","with","no_entropy","."]
code: def test_vpg_no_entropy(self):
      """Test VPG with no_entropy."""
      self._params["positive_adv"] = True
      self._params["use_softplus_entropy"] = True
  
      algo = VPG(**self._params)
      self._trainer.setup(algo, self._env)
      last_avg_ret = self._trainer.train(n_epochs=10, batch_size=100)
      assert last_avg_ret > 0
  
file_path: garage/tests/garage/torch/algos/test_vpg.py
imports: import pytest
  import torch
  from garage.envs import GymEnv
  from garage.experiment import deterministic
  from garage.sampler import LocalSampler
  from garage.torch.algos import VPG
  from garage.torch.policies import GaussianMLPPolicy
  from garage.torch.value_functions import GaussianMLPValueFunction
  from garage.trainer import Trainer
  from tests.fixtures import snapshot_config
label_desc: Use image node_id 4 for calling the TestVPG obj's underlying member method code with example usage: obj.test_vpg_no_entropy() without return types