code: def deterministic_reward_distribution(reward_table):
      """Returns a deterministic distribution centered at `reward_table`."""
      return tfd.Independent(
          tfd.Deterministic(loc=reward_table),
          reinterpreted_batch_ndims=2,
      )
  
file_path: agents/tf_agents/bandits/environments/classification_environment_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  from absl.testing.absltest import mock
  import numpy
  import tensorflow
  import tensorflow_probability
  from tf_agents.bandits.environments import classification_environment
label_desc: Use image node_id 1 for calling a global function with example usage: deterministic_reward_distribution(reward_table) and returns: tfd