class_docstr: Unit tests for QLearning.
class_docstr_tok: ["Unit","tests","for","QLearning","."]
code: def _setup_prioritized_replay_memory(self, replay_memory):
      # Duplicated values can be returned.
      replay_memory.sample_minibatch.return_value = [
          (
              3,
              _Transition(
                  np.array([0.1], np.float32),
                  0,
                  10,
                  np.array([0.2], np.float32),
                  2,
              ),
          ),
          (
              4,
              _Transition(
                  np.array([0.3], np.float32),
                  1,
                  11,
                  np.array([0.4], np.float32),
                  1,
              ),
          ),
          (
              3,
              _Transition(
                  np.array([0.1], np.float32),
                  0,
                  10,
                  np.array([0.2], np.float32),
                  2,
              ),
          ),
      ]
  
imports: import unittest
  import cntk.contrib.deeprl.tests.spaces
  import numpy
  from cntk.contrib.deeprl.agent.qlearning import QLearning
  from cntk.contrib.deeprl.agent.shared.cntk_utils import huber_loss
  from cntk.contrib.deeprl.agent.shared.replay_memory import _Transition
  from cntk.layers import Dense
  from cntk.losses import squared_error
  from cntk.ops import input_variable
label_desc: Use image node_id 16 for calling the QLearningTest obj's underlying member method code with example usage: obj._setup_prioritized_replay_memory(replay_memory) without return types