We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20d2d16 commit 8a49889Copy full SHA for 8a49889
torch_nn_layers.py
@@ -20,7 +20,7 @@ class TorchModel(Component):
20
21
model_in: InArg[list]
22
loss_in: InArg[str]
23
- learning_rate = InArg[float]
+ learning_rate: InArg[float]
24
optimizer_in: InArg[str]
25
should_flatten: InArg[bool]
26
model_config: OutArg[nn.Module]
@@ -357,4 +357,4 @@ def execute(self, ctx) -> None:
357
if self.model_in.value is None:
358
self.model_out.value = [nn.Dropout(prob)]
359
else:
360
- self.model_out.value = self.model_in.value + [nn.Dropout(prob)]
+ self.model_out.value = self.model_in.value + [nn.Dropout(prob)]
0 commit comments