Skip to content

Commit 1556c31

Browse files
committed
fix: compiler error
1 parent 3e086dc commit 1556c31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ai/fou/fou_vae.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ mod tests {
469469
)?;
470470

471471
let batch_size = 32;
472-
let xs = Tensor::randn(0.0, 1.0, &[batch_size, seq_len, input_dim], device)?;
472+
let xs = Tensor::randn(0.0, 1.0, &[batch_size, seq_len, input_dim], &Device::Cpu)?;
473473

474474
let (x_reconstructed, sigma_estimated, mu, log_var, z) = model.forward(&xs)?;
475475

0 commit comments

Comments
 (0)