class_docstr: Bandit environment that returns random observations and rewards.
class_docstr_tok: ["Bandit","environment","that","returns","random","observations","and","rewards","."]
code: def _apply_action(
      self, action: types.NestedTensor
  ) -> types.NestedTensor:
      del action  # unused
      return self._reward_distribution.sample()
  
file_path: agents/tf_agents/bandits/environments/random_bandit_environment.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from typing import Optional
  import tensorflow
  from tf_agents.bandits.environments import bandit_tf_environment
  from tf_agents.specs import tensor_spec
  from tf_agents.trajectories import time_step
  from tf_agents.typing import types
label_desc: Use image node_id 2 for calling the RandomBanditEnvironment obj's underlying member method code with example usage: obj._apply_action(action) and returns: self