class_docstr: Sanity tests for A2C exec impl.
class_docstr_tok: ["Sanity","tests","for","A2C","exec","impl","."]
code: def test_a2c_exec_impl(self):
      config = (
          A2CConfig()
          .environment(env="CartPole-v1")
          .reporting(min_time_s_per_iteration=0)
      )
  
      for _ in framework_iterator(config):
          algo = config.build()
          results = algo.train()
          check_train_results(results)
          print(results)
          check_compute_single_action(algo)
          algo.stop()
  
file_path: ray/rllib_contrib/a2c/tests/test_a2c.py
imports: import unittest
  from rllib_a2c.a2c import A2CConfig
  import ray
  from ray.rllib.utils.test_utils import check_compute_single_action, check_train_results, framework_iterator
label_desc: Use image node_id 4 for calling the TestA2C obj's underlying member method code with example usage: obj.test_a2c_exec_impl() without return types