diff --git a/prototorch/components/components.py b/prototorch/components/components.py index 7d9b125..25686e1 100644 --- a/prototorch/components/components.py +++ b/prototorch/components/components.py @@ -32,7 +32,7 @@ def get_labels_object(distribution): return labels -def _precheck_initializer(self, initializer): +def _precheck_initializer(initializer): if not isinstance(initializer, ComponentsInitializer): emsg = f"`initializer` has to be some subtype of " \ f"{ComponentsInitializer}. " \