class_docstr: Returns boltzmann samples of a given policy.
  
  The wrapped policy must expose a distribution parameterized by logits.
class_docstr_tok: ["Returns","boltzmann","samples","of","a","given","policy",".","The","wrapped","policy","must","expose","a","distribution","parameterized","by","logits","."]
docstr: Change the action distribution to incorporate the temperature.
docstr_tok: ["Change","the","action","distribution","to","incorporate","the","temperature","."]
code: def _apply_temperature(self, dist):
      """Change the action distribution to incorporate the temperature."""
      logits = dist.logits / self._get_temperature_value()
      return dist.copy(logits=logits)
  
file_path: agents/tf_agents/policies/boltzmann_policy.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from typing import Optional, Text
  import gin
  import tensorflow
  from tf_agents.policies import tf_policy
  from tf_agents.typing import types
label_desc: Use image node_id 4 for calling the BoltzmannPolicy obj's underlying member method code with example usage: obj._apply_temperature(dist) and returns: dist