From cea98df6e10441f045f80cbd55e6c0f8afc4300a Mon Sep 17 00:00:00 2001 From: Le-Zheng <30695225+Le-Zheng@users.noreply.github.com> Date: Tue, 19 May 2020 10:45:35 +0100 Subject: [PATCH] Remove final for AbstractModule (#3001) --- .../analytics/bigdl/dllib/nn/abstractnn/AbstractModule.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scala/dllib/src/main/scala/com/intel/analytics/bigdl/dllib/nn/abstractnn/AbstractModule.scala b/scala/dllib/src/main/scala/com/intel/analytics/bigdl/dllib/nn/abstractnn/AbstractModule.scala index 9f0827bdd41..864e0ff820d 100644 --- a/scala/dllib/src/main/scala/com/intel/analytics/bigdl/dllib/nn/abstractnn/AbstractModule.scala +++ b/scala/dllib/src/main/scala/com/intel/analytics/bigdl/dllib/nn/abstractnn/AbstractModule.scala @@ -553,7 +553,7 @@ abstract class AbstractModule[A <: Activity: ClassTag, B <: Activity: ClassTag, * @return self */ @deprecated("please use recommended saveModule(path, overWrite)", "0.3.0") - final def save(path : String, overWrite: Boolean = false) : this.type = { + def save(path : String, overWrite: Boolean = false) : this.type = { this.clearState() File.save(this, path, overWrite) this