docstr: Use a watch_fn that specifies non-default debug ops.
docstr_tok: ["Use","a","watch_fn","that","specifies","non-default","debug","ops","."]
code: def testDumpingWithLegacyWatchFnWithNonDefaultDebugOpsWorks(self):
      """Use a watch_fn that specifies non-default debug ops."""
  
      def watch_fn(fetches, feeds):
          del fetches, feeds
          return ["DebugIdentity", "DebugNumericSummary"], r".*", r".*"
  
      sess = dumping_wrapper.DumpingDebugWrapperSession(
          self.sess, session_root=self.session_root, watch_fn=watch_fn
      )
  
      sess.run(self.inc_v)
  
      dump_dirs = glob.glob(os.path.join(self.session_root, "run_*"))
      self.assertEqual(1, len(dump_dirs))
      dump = debug_data.DebugDumpDir(dump_dirs[0])
  
      self.assertAllClose(
          [10.0], dump.get_tensors("v", 0, "DebugIdentity")
      )
      self.assertEqual(
          14, len(dump.get_tensors("v", 0, "DebugNumericSummary")[0])
      )
  
imports: import glob
  import os
  import tempfile
  import threading
  from tensorflow.python.client import session
  from tensorflow.python.debug.lib import debug_data
  from tensorflow.python.debug.wrappers import dumping_wrapper
  from tensorflow.python.debug.wrappers import framework
  from tensorflow.python.debug.wrappers import hooks
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.lib.io import file_io
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import state_ops
  from tensorflow.python.ops import variable_v1
  from tensorflow.python.platform import gfile
  from tensorflow.python.platform import googletest
  from tensorflow.python.training import monitored_session
label_desc: Use image node_id 13 for calling the DumpingDebugWrapperSessionTest obj's underlying member method code with example usage: obj.testDumpingWithLegacyWatchFnWithNonDefaultDebugOpsWorks() and returns: list,  str,  str