Changed Graph to nn.ModuleDict; Added DDP logic to seup_graph; locallyrunning DDP

This commit is contained in:
evonneng committed 2022-04-15 23:35:00 +00:00
1 parent b2220fef28
commit b8e2713643
5 files changed
+17 -18

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ class MLP(FieldModule):
self.out_activation = out_activation
self.net = None
def build_model(self) -> None:
def build_nn_modules(self) -> None:
"""Initialize mulilayer perceptron."""
layers = []
for i in range(self.num_layers):