fix: reasonings init parameters are used now
This commit is contained in:
parent
3d76dffe3c
commit
cfe09ec06b
@ -253,8 +253,10 @@ class Reasonings(torch.nn.Module):
|
|||||||
self,
|
self,
|
||||||
distribution: Union[dict, list, tuple],
|
distribution: Union[dict, list, tuple],
|
||||||
initializer:
|
initializer:
|
||||||
AbstractReasoningsInitializer = RandomReasoningsInitializer()):
|
AbstractReasoningsInitializer = RandomReasoningsInitializer(),
|
||||||
|
):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
|
self.add_reasonings(distribution, initializer)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def num_classes(self):
|
def num_classes(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user