Do not specify folder for DumpGraphToFile(), so we write to dir TF_DUMP_GRAPH_PREFIX.

PiperOrigin-RevId: 238547854
This commit is contained in:
Tong Shen 2019-03-14 16:53:48 -07:00 committed by TensorFlower Gardener
parent 29b136397b
commit f4f8d500c3

View File

@ -102,7 +102,7 @@ Status Placer::Run() {
}
if (VLOG_IS_ON(3)) {
DumpGraphToFile("placer_input", *graph_, nullptr, "/tmp");
DumpGraphToFile("placer_input", *graph_, nullptr);
for (const Node* node : graph_->op_nodes()) {
VLOG(3) << " " << node->name() << ": requested: '"
<< node->requested_device() << "' assigned: '"
@ -226,7 +226,7 @@ Status Placer::Run() {
}
if (VLOG_IS_ON(3)) {
DumpGraphToFile("placer_output", *graph_, nullptr, "/tmp");
DumpGraphToFile("placer_output", *graph_, nullptr);
}
return Status::OK();
}