copy trainer network to device

This commit is contained in:
Dr. Kashif Rasul
2020-01-28 12:12:32 +01:00
parent 23b0d39412
commit 438785cde1
@@ -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)