From bc2bd3c1eda12cbe92a5128f4a2798ffaf897a84 Mon Sep 17 00:00:00 2001 From: Aurelius84 Date: Thu, 2 Jul 2020 10:18:39 +0800 Subject: [PATCH] modify into eager_tmp of Base Class test=develop (#25323) --- paddle/fluid/imperative/tracer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/imperative/tracer.h b/paddle/fluid/imperative/tracer.h index 1bcd97a9298..7652b3aa291 100644 --- a/paddle/fluid/imperative/tracer.h +++ b/paddle/fluid/imperative/tracer.h @@ -32,7 +32,7 @@ namespace imperative { class UniqueNameGenerator { public: explicit UniqueNameGenerator(std::string prefix = "") : prefix_(prefix) {} - std::string Generate(std::string key = "tmp") { + std::string Generate(std::string key = "eager_tmp") { return prefix_ + key + "_" + std::to_string(id_++); } -- GitLab