code: def test_rendered_env_continuous_2d(self):
      env = gym_utils.RenderedEnv(
          SimpleContinuousActionsEnv(dimensions=2), resize_to=(64, 12)
      )
      obs, _, _, _ = env.step(0.5)
      self.assertTrue(np.allclose(np.zeros([64, 12, 3], np.uint8), obs))
  
      env = gym_utils.RenderedEnv(
          SimpleContinuousActionsEnv(dimensions=2),
          resize_to=(64, 12),
          output_dtype=np.float32,
      )
      obs, _, _, _ = env.step(1)
      self.assertTrue(
          np.allclose(np.zeros([64, 12, 3], np.float32), obs)
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import unittest
  import gym
  from gym import spaces
  import numpy
  from tensor2tensor.rl import gym_utils
  import tensorflow.compat.v1
label_desc: Use image node_id 6 for calling the GymUtilsTest obj's underlying member method code with example usage: obj.test_rendered_env_continuous_2d() without return types