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","."]
code: def _get_temperature_value(self):
      if callable(self._temperature):
          return self._temperature()
      return self._temperature
  
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 3 for calling the BoltzmannPolicy obj's underlying member method code with example usage: obj._get_temperature_value() and returns: self, self