Home
last modified time | relevance | path

Searched refs:dump_root (Results 1 – 25 of 27) sorted by relevance

12

/external/tensorflow/tensorflow/python/client/
Ddebug_events_writer_wrapper.cc32 [](const std::string& dump_root, const std::string& tfdbg_run_id, in PYBIND11_MODULE()
35 dump_root, tfdbg_run_id, circular_buffer_size); in PYBIND11_MODULE()
39 dump_root.c_str())); in PYBIND11_MODULE()
43 [](const std::string& dump_root, const py::object obj) { in PYBIND11_MODULE() argument
47 DebugEventsWriter::LookUpDebugEventsWriter(dump_root, &writer)); in PYBIND11_MODULE()
53 [](const std::string& dump_root, const py::object& obj) { in PYBIND11_MODULE() argument
57 DebugEventsWriter::LookUpDebugEventsWriter(dump_root, &writer)); in PYBIND11_MODULE()
63 [](const std::string& dump_root, const py::object& obj) { in PYBIND11_MODULE() argument
67 DebugEventsWriter::LookUpDebugEventsWriter(dump_root, &writer)); in PYBIND11_MODULE()
73 [](const std::string& dump_root, const py::object& obj) { in PYBIND11_MODULE() argument
[all …]
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_events_writer_test.py45 debug_events_writer.DebugEventsWriter(self.dump_root, self.tfdbg_run_id)
57 metadata_paths = glob.glob(os.path.join(self.dump_root, "*.metadata"))
60 os.path.join(self.dump_root, "*.source_files"))
63 os.path.join(self.dump_root, "*.stack_frames"))
65 graphs_paths = glob.glob(os.path.join(self.dump_root, "*.graphs"))
70 writer = debug_events_writer.DebugEventsWriter(self.dump_root,
87 with debug_events_reader.DebugEventsReader(self.dump_root) as reader:
104 writer = debug_events_writer.DebugEventsWriter(self.dump_root,
118 reader = debug_events_reader.DebugEventsReader(self.dump_root)
128 writer = debug_events_writer.DebugEventsWriter(self.dump_root,
[all …]
Ddumping_callback_test.py58 self.dump_root = tempfile.mkdtemp()
61 if os.path.isdir(self.dump_root):
62 shutil.rmtree(self.dump_root, ignore_errors=True)
91 self.dump_root, tensor_debug_mode="NONSENSICAL")
109 self.dump_root, tensor_debug_mode=tensor_debug_mode)
111 self.assertIn(self.dump_root, log_messages[0])
128 self.dump_root, tensor_debug_mode=tensor_debug_mode)
145 with debug_events_reader.DebugDataReader(self.dump_root) as reader:
274 self.dump_root, tensor_debug_mode=tensor_debug_mode)
288 with debug_events_reader.DebugDataReader(self.dump_root) as reader:
[all …]
Ddumping_callback.py89 dump_root, argument
94 self._dump_root = dump_root
153 def dump_root(self): member in _DumpingCallback
156 @dump_root.setter
157 def dump_root(self, dump_root): member in _DumpingCallback
158 if self._dump_root != dump_root:
159 self._dump_root = dump_root
693 def enable_dump_debug_info(dump_root, argument
856 (_state.dumping_callback.dump_root,
860 _state.dumping_callback = _DumpingCallback(dump_root,
[all …]
Ddumping_callback_test_lib.py38 self.dump_root = tempfile.mkdtemp()
42 if os.path.isdir(self.dump_root):
43 shutil.rmtree(self.dump_root, ignore_errors=True)
50 with debug_events_reader.DebugEventsReader(self.dump_root) as reader:
Dsession_debug_file_test.py129 for dump_root in self._dump_roots:
130 if os.path.isdir(dump_root):
131 file_io.delete_recursively(dump_root)
134 return [("file://%s" % dump_root) for dump_root in self._dump_roots]
Ddebug_events_writer.py34 dump_root, argument
53 if not dump_root:
55 self._dump_root = dump_root
157 def dump_root(self): member in DebugEventsWriter
Dsource_utils_test.py150 self.dump_root = self.get_temp_dir()
179 run_options, sess.graph, debug_urls=["file://%s" % self.dump_root])
184 self.dump_root, partition_graphs=run_metadata.partition_graphs)
192 if os.path.isdir(self.dump_root):
193 file_io.delete_recursively(self.dump_root)
329 self.dump_root = self.get_temp_dir()
346 run_options, sess.graph, debug_urls=["file://%s" % self.dump_root])
351 self.dump_root, partition_graphs=run_metadata.partition_graphs)
358 if os.path.isdir(self.dump_root):
359 file_io.delete_recursively(self.dump_root)
Ddebug_data_test.py114 dump_root = "/tmp/tfdbg_1"
120 datum = debug_data.DebugTensorDatum(dump_root, debug_dump_rel_path)
129 os.path.join(dump_root, debug_dump_rel_path), datum.file_path)
144 dump_root = "/tmp/tfdbg_1"
146 datum = debug_data.DebugTensorDatum(dump_root, debug_dump_rel_path)
Ddebug_v2_ops_test.py57 self.dump_root, self.tfdbg_run_id, self.circular_buffer_size)
75 debug_urls=["file://%s" % self.dump_root])
84 debug_urls=["file://%s" % self.dump_root])
94 with debug_events_reader.DebugEventsReader(self.dump_root) as reader:
155 debug_urls=["file://%s" % self.dump_root])
166 with debug_events_reader.DebugEventsReader(self.dump_root) as reader:
191 another_dump_root = os.path.join(self.dump_root, "another")
205 debug_urls=["file://%s" % self.dump_root, another_debug_url])
214 for debug_root in (self.dump_root, another_dump_root):
256 debug_urls=["file://%s" % self.dump_root],
[all …]
Dgrpc_debug_test_server.py47 def _get_dump_file_path(dump_root, device_name, debug_node_name): argument
60 dump_root = os.path.join(
61 dump_root, debug_data.device_name_to_device_path(device_name))
63 dump_dir = os.path.join(dump_root, os.path.dirname(debug_node_name))
66 dump_dir = dump_root
Ddebug_data.py285 def __init__(self, dump_root, debug_dump_rel_path): argument
329 self._file_path = os.path.join(dump_root, debug_dump_rel_path)
469 def __init__(self, dump_root, partition_graphs=None, validate=True): argument
485 if not gfile.IsDirectory(dump_root):
486 raise IOError("Dump root directory %s does not exist" % dump_root)
491 self._dump_root = dump_root
Ddebug_events_reader.py56 def __init__(self, dump_root): argument
57 if not file_io.is_directory(dump_root):
58 raise ValueError("Specified dump_root is not a directory: %s" % dump_root)
59 self._dump_root = dump_root
931 def __init__(self, dump_root): argument
932 self._reader = DebugEventsReader(dump_root)
Ddebug_events_monitors_test.py74 self.dump_root, tensor_debug_mode=tensor_debug_mode)
81 with debug_events_reader.DebugDataReader(self.dump_root) as reader:
119 self.dump_root, tensor_debug_mode=tensor_debug_mode)
132 with debug_events_reader.DebugDataReader(self.dump_root) as reader:
/external/tensorflow/tensorflow/python/debug/wrappers/
Dlocal_cli_wrapper_test.py63 dump_root=None): argument
76 self, sess, dump_root=dump_root, log_usage=False)
186 session.Session(), dump_root=self._tmp_dir, log_usage=False)
197 session.Session(), dump_root=self._tmp_dir, log_usage=False)
206 session.Session(), dump_root=file_path, log_usage=False)
210 [["run"], ["run"], ["run"]], self.sess, dump_root=self._tmp_dir)
233 [["run"], ["run"]], self.sess, dump_root="")
242 [["run"], ["run"], ["run"]], self.sess, dump_root=self._tmp_dir)
267 self.sess, dump_root=self._tmp_dir)
282 [["run"], ["run"]], self.sess, dump_root=self._tmp_dir)
[all …]
Dlocal_cli_wrapper.py53 dump_root=None, argument
86 if not dump_root:
89 dump_root = os.path.expanduser(dump_root)
90 if os.path.isfile(dump_root):
91 raise ValueError("dump_root path points to a file: %s" % dump_root)
92 elif os.path.isdir(dump_root) and os.listdir(dump_root):
94 dump_root)
96 self._dump_root = dump_root
Dhooks.py41 dump_root=None, argument
61 self._dump_root = dump_root
96 dump_root=self._dump_root,
/external/tensorflow/tensorflow/core/util/
Ddebug_events_writer.cc125 const string& dump_root, const string& tfdbg_run_id, in GetDebugEventsWriter() argument
130 if (writer_pool->find(dump_root) == writer_pool->end()) { in GetDebugEventsWriter()
132 new DebugEventsWriter(dump_root, tfdbg_run_id, circular_buffer_size)); in GetDebugEventsWriter()
133 writer_pool->insert(std::make_pair(dump_root, std::move(writer))); in GetDebugEventsWriter()
135 return (*writer_pool)[dump_root].get(); in GetDebugEventsWriter()
140 const string& dump_root, DebugEventsWriter** debug_events_writer) { in LookUpDebugEventsWriter() argument
144 if (writer_pool->find(dump_root) == writer_pool->end()) { in LookUpDebugEventsWriter()
146 "No DebugEventsWriter has been created at dump root ", dump_root); in LookUpDebugEventsWriter()
148 *debug_events_writer = (*writer_pool)[dump_root].get(); in LookUpDebugEventsWriter()
475 DebugEventsWriter::DebugEventsWriter(const string& dump_root, in DebugEventsWriter() argument
[all …]
Ddebug_events_writer.h108 static DebugEventsWriter* GetDebugEventsWriter(const string& dump_root,
116 const string& dump_root, DebugEventsWriter** debug_events_writer);
220 DebugEventsWriter(const string& dump_root, const string& tfdbg_run_id,
/external/tensorflow/tensorflow/core/debug/
Ddebug_io_utils_test.cc257 string dump_root = strings::StrCat(testing::TmpDir(), "/", i); in TEST_F() local
259 dump_roots.push_back(dump_root); in TEST_F()
261 DebugFileIO::GetDumpFilePath(dump_root, kDebugNodeKey, wall_time)); in TEST_F()
262 urls.push_back(strings::StrCat("file://", dump_root)); in TEST_F()
371 string dump_root; in TEST_F() local
375 dump_root = in TEST_F()
378 dump_roots.push_back(dump_root); in TEST_F()
380 DebugFileIO::GetDumpFilePath(dump_root, kDebugNodeKey, wall_time)); in TEST_F()
382 debug_url = strings::StrCat("file://", dump_root); in TEST_F()
/external/tensorflow/tensorflow/python/debug/examples/v1/
Ddebug_tflearn_iris.py71 dump_root=FLAGS.dump_root,
Dexamples_v1_test.sh90 cat << EOF | ${DEBUG_TFLEARN_IRIS_BIN} --debug --train_steps=2 --dump_root="${CUSTOM_DUMP_ROOT}" --…
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.debugging.experimental.pbtxt9 …argspec: "args=[\'dump_root\', \'tensor_debug_mode\', \'circular_buffer_size\', \'op_regex\', \'te…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.debugging.experimental.pbtxt9 …argspec: "args=[\'dump_root\', \'tensor_debug_mode\', \'circular_buffer_size\', \'op_regex\', \'te…
/external/tensorflow/tensorflow/core/kernels/
Ddebug_ops_test.cc80 const string dump_root = strings::StrCat(tmp_dir, "_", i); in TEST_F() local
81 dump_roots.push_back(dump_root); in TEST_F()
83 debug_urls.push_back(strings::StrCat("file://", dump_root)); in TEST_F()

12