Skip to content

Commit

Permalink
fix: compiler error
Browse files Browse the repository at this point in the history
  • Loading branch information
dancixx committed Nov 7, 2024
1 parent 3e086dc commit 1556c31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ai/fou/fou_vae.rs
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ mod tests {
)?;

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

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

Expand Down

0 comments on commit 1556c31

Please sign in to comment.