Home
last modified time | relevance | path

Searched refs:watch_key (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/core/debug/
Ddebug_io_utils.h40 DebugWatchAndURLSpec(const string& watch_key, const string& url, in DebugWatchAndURLSpec()
42 : watch_key(watch_key), url(url), gated_grpc(gated_grpc) {} in DebugWatchAndURLSpec()
44 const string watch_key; member
125 static bool IsDebugNodeGateOpen(const string& watch_key,
140 static bool IsDebugURLGateOpen(const string& watch_key,
370 const string& watch_key);
375 const string& watch_key);
385 const string& grpc_debug_url, const string& watch_key,
Ddebug_io_utils.cc537 if (DebugGrpcIO::IsReadGateOpen(spec.url, spec.watch_key)) { in IsCopyNodeGateOpen()
548 bool DebugIO::IsDebugNodeGateOpen(const string& watch_key, in IsDebugNodeGateOpen() argument
556 if (DebugGrpcIO::IsReadGateOpen(debug_url, watch_key)) { in IsDebugNodeGateOpen()
567 bool DebugIO::IsDebugURLGateOpen(const string& watch_key, in IsDebugURLGateOpen() argument
573 return DebugGrpcIO::IsReadGateOpen(debug_url, watch_key); in IsDebugURLGateOpen()
767 string watch_key = strings::StrCat(debug_op_state_change.node_name(), ":", in ReceiveAndProcessEventReplies() local
770 DebugGrpcIO::SetDebugNodeKeyGrpcState(url_, watch_key, in ReceiveAndProcessEventReplies()
891 const string& watch_key) { in IsReadGateOpen() argument
894 return enabled_node_to_state->find(watch_key) != enabled_node_to_state->end(); in IsReadGateOpen()
898 const string& watch_key) { in IsWriteGateOpen() argument
[all …]
/external/bcc/examples/lua/
Duprobe-tailkt.lua29 local writeable, watch_key, klen = 'any', arg[2] or '*', 80
36 if watch_key ~= '*' then klen = #watch_key end
51 if watch_key ~= '*' then
53 if line ~= watch_key then return false end
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_data.py428 def watch_key(self): member in DebugTensorDatum
640 if datum.watch_key not in self._watch_key_to_devices:
641 self._watch_key_to_devices[datum.watch_key] = {device_name}
643 self._watch_key_to_devices[datum.watch_key].add(device_name)
645 if datum.watch_key not in self._watch_key_to_datum[device_name]:
646 self._watch_key_to_datum[device_name][datum.watch_key] = [datum]
647 self._watch_key_to_rel_time[device_name][datum.watch_key] = [
649 self._watch_key_to_dump_size_bytes[device_name][datum.watch_key] = [
652 self._watch_key_to_datum[device_name][datum.watch_key].append(datum)
653 self._watch_key_to_rel_time[device_name][datum.watch_key].append(
[all …]
Dsource_utils.py52 def _convert_watch_key_to_tensor_name(watch_key): argument
53 return watch_key[:watch_key.rfind(":")]
234 for watch_key in watch_keys:
235 node_name, output_slot, debug_op = watch_key.split(":")
Dgrpc_debug_test_server.py254 for watch_key in self._toggle_watches:
255 self._toggle_watch_state[watch_key] = False
258 for watch_key in self._toggle_watch_state:
259 node_name, output_slot, debug_op = watch_key
260 if self._toggle_watch_state[watch_key]:
264 self._toggle_watch_state[watch_key] = (
265 not self._toggle_watch_state[watch_key])
Ddebug_data_test.py127 self.assertEqual("ns1/ns2/node_a_1:2:DebugIdentity", datum.watch_key)
/external/tensorflow/tensorflow/python/debug/cli/
Danalyzer_cli.py953 for watch_key in watch_keys:
954 output_slots.add(int(watch_key.split(":")[1]))
981 for watch_key in watch_keys:
982 debug_tensor_data = self._debug_dump.watch_key_to_data(watch_key)
996 matching_data[0].watch_key,
1020 lines.append("#%d [%.3f ms] %s" % (i, rel_time, datum.watch_key))
1023 len(lines[-1]) - len(datum.watch_key), len(lines[-1]),
1043 matching_data[parsed.number].watch_key + " (dump #%d)" %
1565 for watch_key in watch_keys:
1566 debug_tensor_data = self._debug_dump.watch_key_to_data(watch_key)