Skip to content

Commit

Permalink
Merge pull request #11 from Jeanselme/patch-1
Browse files Browse the repository at this point in the history
Update initialisation
  • Loading branch information
Chirag Nagpal authored Nov 9, 2020
2 parents cb84eb8 + ea15f7f commit 3e3ed66
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dsm/dsm_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,8 @@ class DeepRecurrentSurvivalMachines(DSMBase):
def __init__(self, k=3, layers=None, hidden=None,
distribution='Weibull', temp=1000., discount=1.0, typ='LSTM'):
super(DeepRecurrentSurvivalMachines, self).__init__(k=k, layers=layers,
distribution=distribution)
distribution=distribution,
temp=temp, discount=discount)
self.hidden = hidden
self.typ = typ
def _gen_torch_model(self, inputdim, optimizer):
Expand Down

0 comments on commit 3e3ed66

Please sign in to comment.