mirror of
https://github.com/wassname/pytorch-ts.git
synced 2026-07-16 11:21:03 +08:00
Update DeepARPredictionNetwork (#25)
Set default value of num_parallel_samples to 100
This commit is contained in:
committed by
GitHub Enterprise
parent
2b957e89e3
commit
50683efdc6
@@ -422,7 +422,7 @@ class DeepVARTrainingNetwork(nn.Module):
|
||||
|
||||
|
||||
class DeepVARPredictionNetwork(DeepVARTrainingNetwork):
|
||||
def __init__(self, num_parallel_samples: int, **kwargs) -> None:
|
||||
def __init__(self, num_parallel_samples: int = 100, **kwargs) -> None:
|
||||
super().__init__(**kwargs)
|
||||
self.num_parallel_samples = num_parallel_samples
|
||||
|
||||
|
||||
Reference in New Issue
Block a user