Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
EricLBuehler committed Aug 1, 2024
1 parent 13fa200 commit 19202e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion candle-nn/tests/ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ fn sigmoid(device: &Device) -> Result<()> {
fn topk(device: &Device) -> Result<()> {
// [[1, 3, 5],
// [2, 4, 6]]
let x = Tensor::arange(1f32, 7f32, &device)?
let x = Tensor::arange(1f32, 7f32, device)?
.reshape((3, 2))?
.t()?
.contiguous()?;
Expand Down

0 comments on commit 19202e0

Please sign in to comment.