mirror of
https://github.com/huggingface/candle.git
synced 2025-06-15 18:28:24 +00:00

* Optimize Tensor::new when called on nested Vec<..>. * Improve performance. * Similar flattening for the 4d case. * More tweaks. * Add some dummy test.
16 lines
378 B
Rust
16 lines
378 B
Rust
mod benchmarks;
|
|
|
|
use criterion::criterion_main;
|
|
|
|
criterion_main!(
|
|
benchmarks::affine::benches,
|
|
benchmarks::copy::benches,
|
|
benchmarks::conv_transpose2d::benches,
|
|
benchmarks::matmul::benches,
|
|
benchmarks::qmatmul::benches,
|
|
benchmarks::random::benches,
|
|
benchmarks::reduce::benches,
|
|
benchmarks::unary::benches,
|
|
benchmarks::where_cond::benches,
|
|
);
|