AbstractModel: Dynamically initialize attr
Compare changes
+ 7
− 3
@@ -16,6 +16,9 @@ from .sugar import random_like
@@ -28,13 +31,13 @@ class AbstractModel():
@@ -44,7 +47,8 @@ class AbstractModel():
Beginning with 2nd June, only the "Single Sign On" option for login to the GitLab web interface will be possible. If you don't have an MPCDF wide second factor so far, please get one at our SelfService (https://selfservice.mpcdf.mpg.de). The GitLab internal second factor will not work.
Initialize _init
, _target
, and _linear_transpose
within the
corresponding method if they are not present.
Furthermore, add some comments on how AbstractModel should be extended to a custom JAX type once JAX features easier python convenience method to do so.