Home
last modified time | relevance | path

Searched refs:summary_dir (Results 1 – 5 of 5) sorted by relevance

/third_party/mindspore/tests/ut/python/train/summary/
Dtest_summary_collector.py90 def test_params_with_summary_dir_value_error(self, summary_dir): argument
92 if isinstance(summary_dir, str):
94 SummaryCollector(summary_dir=summary_dir)
98 SummaryCollector(summary_dir=summary_dir)
104 summary_dir = tempfile.mkdtemp(dir=self.base_summary_dir)
105 summary_file = os.path.join(summary_dir, 'temp_file.txt')
110 SummaryCollector(summary_dir=summary_file)
116 summary_dir = tempfile.mkdtemp(dir=self.base_summary_dir)
119 SummaryCollector(summary_dir=summary_dir, collect_freq=collect_freq)
124 SummaryCollector(summary_dir=summary_dir, collect_freq=collect_freq)
[all …]
Dtest_summary_record.py72 summary_dir = tempfile.mkdtemp(dir=self.base_summary_dir)
74 with SummaryRecord(log_dir=summary_dir, raise_exception=raise_exception):
82 summary_dir = tempfile.mkdtemp(dir=self.base_summary_dir)
84 with SummaryRecord(summary_dir) as sr:
/third_party/mindspore/tests/st/summary/
Dtest_summary_collector.py115 summary_dir = tempfile.mkdtemp(dir=self.base_summary_dir)
116 summary_collector = SummaryCollector(summary_dir=summary_dir, collect_freq=2, **kwargs)
123 return summary_dir
133 summary_dir = self._run_network(num_samples=10)
135 tag_list = self._list_summary_tags(summary_dir)
156 summary_dir = self._run_network(dataset_sink_mode=True, num_samples=10)
158 tag_list = self._list_summary_tags(summary_dir)
176 summary_dir = self._run_network(dataset_sink_mode=True, num_samples=2,
180 tag_list = self._list_summary_tags(summary_dir)
181 file_list = self._list_tensor_files(summary_dir)
[all …]
/third_party/mindspore/mindspore/explainer/
D_image_classification_runner.py310 summary_dir, argument
323 check_value_type("summary_dir", summary_dir, str)
327 self._summary_dir = summary_dir
/third_party/mindspore/mindspore/train/callback/
D_summary_collector.py190 summary_dir, argument
204 self._summary_dir = _make_directory(summary_dir, "summary_dir")