Skip to content

Commit

Permalink
Fix set_dtype
Browse files Browse the repository at this point in the history
  • Loading branch information
EricLBuehler committed Oct 3, 2024
1 parent 156ebd1 commit 20a57c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions candle-nn/src/var_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ impl<'a, B: Backend> VarBuilderArgs<'a, B> {
dtype,
device: self.data.device.clone(),
}),
dtype,
..self
}
}
Expand Down

0 comments on commit 20a57c4

Please sign in to comment.