docstr: Tests, whether DQN correctly computes logp in soft-q mode.
docstr_tok: ["Tests",",","whether","DQN","correctly","computes","logp","in","soft-q","mode","."]
code: def test_dqn(self):
      """Tests, whether DQN correctly computes logp in soft-q mode."""
      config = dqn.DQNConfig()
      # Soft-Q for DQN.
      config.exploration(
          exploration_config={"type": "SoftQ", "temperature": 0.5}
      )
      config.debugging(seed=42)
      do_test_log_likelihood(dqn.DQN, config)
  
imports: import unittest
  import numpy
  from scipy.stats import norm
  import ray
  import ray.rllib.algorithms.dqn
  import ray.rllib.algorithms.ppo
  import ray.rllib.algorithms.sac
  from ray.rllib.utils.framework import try_import_tf
  from ray.rllib.utils.numpy import MAX_LOG_NN_OUTPUT, MIN_LOG_NN_OUTPUT, fc, one_hot
  from ray.rllib.utils.test_utils import check, framework_iterator
label_desc: Use image node_id 3 for calling the TestComputeLogLikelihood obj's underlying member method code with example usage: obj.test_dqn() without return types