We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1cd9a96 commit 2882457Copy full SHA for 2882457
dynamax/parameters.py
@@ -46,6 +46,9 @@ def tree_flatten(self):
46
def tree_unflatten(cls, aux_data, children):
47
return cls(*aux_data)
48
49
+ def __repr__(self):
50
+ return f"ParameterProperties(trainable={self.trainable}, constrainer={self.constrainer})"
51
+
52
53
def to_unconstrained(params: ParameterSet, props: PropertySet) -> ParameterSet:
54
"""Convert the constrained parameters to unconstrained form.
0 commit comments