code: def test_get_action(self, filters, strides, padding, hidden_sizes):
      env = GymEnv(DummyDiscretePixelEnv())
      policy = CategoricalCNNPolicy(
          env_spec=env.spec,
          filters=filters,
          strides=strides,
          padding=padding,
          hidden_sizes=hidden_sizes,
      )
  
      env.reset()
      obs = env.step(1).observation
  
      action, _ = policy.get_action(obs)
      assert env.action_space.contains(action)
  
      actions, _ = policy.get_actions([obs, obs, obs])
      for action in actions:
          assert env.action_space.contains(action)
  
file_path: garage/tests/garage/tf/policies/test_categorical_cnn_policy.py
imports: import pickle
  from unittest import mock
  import numpy
  import pytest
  import tensorflow
  from garage.envs import GymEnv
  from garage.tf.policies import CategoricalCNNPolicy
  from tests.fixtures import TfGraphTestCase
  from tests.fixtures.envs.dummy import DummyDictEnv, DummyDiscretePixelEnv
label_desc: Use image node_id 1 for calling the TestCategoricalCNNPolicyWithModel obj's underlying member method code with example usage: obj.test_get_action(filters, strides, padding, hidden_sizes) without return types