[BUGFIX] Fix broken _precheck_initializer
This commit is contained in:
parent
b1568a550a
commit
70cf17607e
@ -32,7 +32,7 @@ def get_labels_object(distribution):
|
|||||||
return labels
|
return labels
|
||||||
|
|
||||||
|
|
||||||
def _precheck_initializer(self, initializer):
|
def _precheck_initializer(initializer):
|
||||||
if not isinstance(initializer, ComponentsInitializer):
|
if not isinstance(initializer, ComponentsInitializer):
|
||||||
emsg = f"`initializer` has to be some subtype of " \
|
emsg = f"`initializer` has to be some subtype of " \
|
||||||
f"{ComponentsInitializer}. " \
|
f"{ComponentsInitializer}. " \
|
||||||
|
Loading…
Reference in New Issue
Block a user