class_docstr: Tests for `Retrace` ops.
class_docstr_tok: ["Tests","for","`","Retrace","`","ops","."]
docstr: Tests that gradients are evaluated w.r.t. q_tm1.
docstr_tok: ["Tests","that","gradients","are","evaluated","w.r.t",".","q_tm1","."]
code: def testMovingNetworkGradientIsEvaluated(self):
      """Tests that gradients are evaluated w.r.t. q_tm1."""
      _, diff_args, retrace = self._get_retrace_core()
      gradients = tf.gradients([retrace.loss], diff_args)
      for gradient in gradients:
          self.assertNotEqual(gradient, None)
  
file_path: trfl/trfl/retrace_ops_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  from six.moves import xrange
  import tensorflow.compat.v1
  from trfl import retrace_ops
label_desc: Use image node_id 7 for calling the RetraceOpsTest obj's underlying member method code with example usage: obj.testMovingNetworkGradientIsEvaluated() without return types