docstr: Verify a list of debug tensor watches.
  
  This requires all watches in the watch list have exactly the same
  output_slot, debug_ops and debug_urls.
  
  Args:
    watch_opts: Repeated protobuf field of DebugTensorWatch.
    expected_output_slot: Expected output slot index, as an integer.
    expected_debug_ops: Expected debug ops, as a list of strings.
    expected_debug_urls: Expected debug URLs, as a list of strings.
  
  Returns:
    List of node names from the list of debug tensor watches.
docstr_tok: ["Verify","a","list","of","debug","tensor","watches",".","This","requires","all","watches","in","the","watch","list","have","exactly","the","same","output_slot",",","debug_ops","and","debug_urls",".","Args",":","watch_opts",":","Repeated","protobuf","field","of","DebugTensorWatch",".","expected_output_slot",":","Expected","output","slot","index",",","as","an","integer",".","expected_debug_ops",":","Expected","debug","ops",",","as","a","list","of","strings",".","expected_debug_urls",":","Expected","debug","URLs",",","as","a","list","of","strings",".","Returns",":","List","of","node","names","from","the","list","of","debug","tensor","watches","."]
code: def _verify_watches(
      self,
      watch_opts,
      expected_output_slot,
      expected_debug_ops,
      expected_debug_urls,
  ):
      """Verify a list of debug tensor watches.
  
      This requires all watches in the watch list have exactly the same
      output_slot, debug_ops and debug_urls.
  
      Args:
        watch_opts: Repeated protobuf field of DebugTensorWatch.
        expected_output_slot: Expected output slot index, as an integer.
        expected_debug_ops: Expected debug ops, as a list of strings.
        expected_debug_urls: Expected debug URLs, as a list of strings.
  
      Returns:
        List of node names from the list of debug tensor watches.
      """
      node_names = []
      for watch in watch_opts:
          node_names.append(watch.node_name)
  
          if watch.node_name == "*":
              self.assertEqual(-1, watch.output_slot)
              self.assertEqual(expected_debug_ops, watch.debug_ops)
              self.assertEqual(expected_debug_urls, watch.debug_urls)
          else:
              self.assertEqual(expected_output_slot, watch.output_slot)
              self.assertEqual(expected_debug_ops, watch.debug_ops)
              self.assertEqual(expected_debug_urls, watch.debug_urls)
  
      return node_names
  
imports: import numpy
  from tensorflow.core.protobuf import config_pb2
  from tensorflow.python.client import session
  from tensorflow.python.debug.lib import debug_utils
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import resource_variable_ops
  from tensorflow.python.ops import variable_v1
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 3 for calling the DebugUtilsTest obj's underlying member method code with example usage: obj._verify_watches(watch_opts, expected_output_slot, expected_debug_ops, expected_debug_urls) and returns: node_names