mirror of
https://github.com/huggingface/candle.git
synced 2025-06-18 11:37:11 +00:00
Move the test-utils bits to a shared place. (#619)
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
mod test_utils;
|
||||
use candle_core::{DType, Device, IndexOp, Result, Tensor};
|
||||
use candle_core::{test_device, DType, Device, IndexOp, Result, Tensor};
|
||||
|
||||
fn zeros(device: &Device) -> Result<()> {
|
||||
let tensor = Tensor::zeros((5, 2), DType::F32, device)?;
|
||||
|
Reference in New Issue
Block a user