mirror of
https://github.com/huggingface/candle.git
synced 2025-06-19 03:54:56 +00:00
Move the test-utils bits to a shared place. (#619)
This commit is contained in:
@ -4,9 +4,8 @@ extern crate intel_mkl_src;
|
||||
#[cfg(feature = "accelerate")]
|
||||
extern crate accelerate_src;
|
||||
|
||||
use candle::test_utils::to_vec0_round;
|
||||
use candle::{Device, Result, Tensor};
|
||||
mod test_utils;
|
||||
use test_utils::to_vec0_round;
|
||||
|
||||
/* Equivalent python code:
|
||||
import torch
|
||||
|
Reference in New Issue
Block a user