mirror of
https://github.com/wassname/pytorch-ts.git
synced 2026-08-11 05:51:21 +08:00
copy trainer network to device
This commit is contained in:
@@ -215,7 +215,7 @@ class TransformerEstimator(PTSEstimator):
|
||||
lags_seq=self.lags_seq,
|
||||
scaling=self.scaling,
|
||||
num_parallel_samples=self.num_parallel_samples,
|
||||
)
|
||||
).to(device)
|
||||
|
||||
copy_parameters(trained_network, prediction_network)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user