Change 1D attribute Tensors for scalar Tensors and use compound assignment...
Compare changes
Files
2- Maxence Naud authored
Change 1D attribute Tensors for scalar Tensors and use compound assignment operators on 'Parameter' to avoid reset of 'mGrad' attribute
@@ -35,12 +35,12 @@ class Adam: public Optimizer, public StaticAttributes<AdamAttr, float, float, fl
@@ -51,19 +51,17 @@ public:
@@ -73,11 +71,11 @@ public:
@@ -90,13 +88,13 @@ public: