/external/tensorflow/tensorflow/python/client/ |
D | debug_events_writer_wrapper.cc | 32 [](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/ |
D | debug_events_writer_test.py | 45 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 …]
|
D | dumping_callback_test.py | 58 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 …]
|
D | dumping_callback.py | 89 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): argument 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 …]
|
D | dumping_callback_test_lib.py | 38 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:
|
D | session_debug_file_test.py | 129 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]
|
D | debug_events_writer.py | 34 dump_root, argument 53 if not dump_root: 55 self._dump_root = dump_root 157 def dump_root(self): member in DebugEventsWriter
|
D | source_utils_test.py | 150 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)
|
D | debug_data_test.py | 114 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)
|
D | debug_v2_ops_test.py | 57 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 …]
|
D | grpc_debug_test_server.py | 47 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
|
D | debug_data.py | 285 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
|
D | debug_events_reader.py | 56 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)
|
D | debug_events_monitors_test.py | 74 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/ |
D | local_cli_wrapper_test.py | 63 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 …]
|
D | local_cli_wrapper.py | 53 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
|
D | hooks.py | 41 dump_root=None, argument 61 self._dump_root = dump_root 96 dump_root=self._dump_root,
|
/external/tensorflow/tensorflow/core/util/ |
D | debug_events_writer.cc | 125 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 …]
|
D | debug_events_writer.h | 108 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/ |
D | debug_io_utils_test.cc | 257 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/ |
D | debug_tflearn_iris.py | 71 dump_root=FLAGS.dump_root,
|
D | examples_v1_test.sh | 90 cat << EOF | ${DEBUG_TFLEARN_IRIS_BIN} --debug --train_steps=2 --dump_root="${CUSTOM_DUMP_ROOT}" --…
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.debugging.experimental.pbtxt | 9 …argspec: "args=[\'dump_root\', \'tensor_debug_mode\', \'circular_buffer_size\', \'op_regex\', \'te…
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.debugging.experimental.pbtxt | 9 …argspec: "args=[\'dump_root\', \'tensor_debug_mode\', \'circular_buffer_size\', \'op_regex\', \'te…
|
/external/tensorflow/tensorflow/core/kernels/ |
D | debug_ops_test.cc | 80 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()
|