Skip to content

Commit

Permalink
move dlframe SharedParamsApater to AZ and roll back to OptimizerV1 (i…
Browse files Browse the repository at this point in the history
  • Loading branch information
Le-Zheng authored Jul 2, 2021
1 parent 8229bc8 commit 3f863d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Engine.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 3f863d6

Please sign in to comment.