Skip to content

Commit

Permalink
modified: dsm/dsm_torch.py
Browse files Browse the repository at this point in the history
  • Loading branch information
chiragnagpal committed Dec 14, 2020
1 parent edc176b commit b3ad9a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dsm/dsm_torch.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def __init__(self, inputdim, k, layers=None, dist='Weibull',
self.act = nn.SELU()
self.shape = nn.ParameterDict({str(r+1): nn.Parameter(-torch.ones(k))
for r in range(self.risks)})
self.scale = nn.ParameterDict({str(r+1):nn.Parameter(-torch.ones(k))
self.scale = nn.ParameterDict({str(r+1): nn.Parameter(-torch.ones(k))
for r in range(self.risks)})
elif self.dist in ['Normal']:
self.act = nn.Identity()
Expand Down

0 comments on commit b3ad9a9

Please sign in to comment.