mirror of
https://github.com/wassname/pytorch-ts.git
synced 2026-06-27 19:32:05 +08:00
move predictor network to device
This commit is contained in:
@@ -158,7 +158,7 @@ class SimpleFeedForwardEstimator(PTSEstimator):
|
||||
batch_normalization=self.batch_normalization,
|
||||
mean_scaling=self.mean_scaling,
|
||||
num_parallel_samples=self.num_parallel_samples,
|
||||
)
|
||||
).to(device)
|
||||
|
||||
copy_parameters(trained_network, prediction_network)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user