From 1a7bf075190793bc195d453aa6fdd345cad7fcff Mon Sep 17 00:00:00 2001 From: Le-Zheng <30695225+Le-Zheng@users.noreply.github.com> Date: Fri, 2 Jul 2021 16:23:52 +0800 Subject: [PATCH] move dlframe SharedParamsApater to AZ and roll back to OptimizerV1 (#3137) --- Engine.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Engine.scala b/Engine.scala index ff03e2b3678..2b063160010 100644 --- a/Engine.scala +++ b/Engine.scala @@ -225,10 +225,10 @@ object Engine { /** * Notice: Please use property bigdl.optimizerVersion to set optimizerVersion. - * Default version is OptimizerV2 + * Default version is OptimizerV1 */ private var optimizerVersion: OptimizerVersion = { - System.getProperty("bigdl.optimizerVersion", "optimizerv2").toLowerCase(Locale.ROOT) match { + System.getProperty("bigdl.optimizerVersion", "optimizerv1").toLowerCase(Locale.ROOT) match { case "optimizerv1" => OptimizerV1 case "optimizerv2" => OptimizerV2 case optimizerVersion => throw new IllegalArgumentException(s"Unknown type $optimizerVersion")