mirror of
https://github.com/huggingface/candle.git
synced 2025-06-15 18:28:24 +00:00
Apply suggestions from code review
This commit is contained in:

committed by
GitHub

parent
c98d3cfd8b
commit
1f58bdbb1d
@ -31,7 +31,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
}
|
||||
```
|
||||
|
||||
`cargo run` should display a tensor of shape `Tensor[[2, 4], f32]`
|
||||
`cargo run` should display a tensor of shape `Tensor[[2, 4], f32]`.
|
||||
|
||||
|
||||
Having installed `candle` with Cuda support, simply define the `device` to be on GPU:
|
||||
|
Reference in New Issue
Block a user