code: def test_get_regularizable_vars(self, obs_dim, action_dim):
      env = GymEnv(
          DummyDiscreteEnv(obs_dim=obs_dim, action_dim=action_dim)
      )
      policy = CategoricalMLPPolicy(env_spec=env.spec)
      reg_vars = policy.get_regularizable_vars()
      assert len(reg_vars) == 2
      for var in reg_vars:
          assert ("bias" not in var.name) and ("output" not in var.name)
  
file_path: garage/tests/garage/tf/policies/test_categorical_mlp_policy.py
imports: import pickle
  import numpy
  import pytest
  import tensorflow
  from garage.envs import GymEnv
  from garage.tf.policies import CategoricalMLPPolicy
  from tests.fixtures import TfGraphTestCase
  from tests.fixtures.envs.dummy import DummyBoxEnv, DummyDictEnv, DummyDiscreteEnv
label_desc: Use image node_id 5 for calling the TestCategoricalMLPPolicy obj's underlying member method code with example usage: obj.test_get_regularizable_vars(obs_dim, action_dim) without return types