summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Patry <patry.nicolas@protonmail.com>2023-11-11 17:42:53 +0100
committerNicolas Patry <nicolas@Nicolass-MacBook-Pro.local>2023-11-20 14:38:35 +0100
commit8d6c6de8e04afad7a4dd7e3b3c9ca042e95e3a3f (patch)
treeb6fe3921d8f2e8ae224aef6062efe246f8459026
parent7ec345c2ebfc8378f0a5bc99c981f516c8dc6964 (diff)
downloadcandle-8d6c6de8e04afad7a4dd7e3b3c9ca042e95e3a3f.tar.gz
candle-8d6c6de8e04afad7a4dd7e3b3c9ca042e95e3a3f.tar.bz2
candle-8d6c6de8e04afad7a4dd7e3b3c9ca042e95e3a3f.zip
Missing new test.
-rw-r--r--candle-core/tests/tensor_tests.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/candle-core/tests/tensor_tests.rs b/candle-core/tests/tensor_tests.rs
index eb684909..c871dc96 100644
--- a/candle-core/tests/tensor_tests.rs
+++ b/candle-core/tests/tensor_tests.rs
@@ -1123,6 +1123,7 @@ test_device!(
);
test_device!(randn, randn_cpu, randn_gpu, randn_metal);
test_device!(clamp, clamp_cpu, clamp_gpu, clamp_metal);
+test_device!(var, var_cpu, var_gpu, var_metal);
// There was originally a bug on the CPU implementation for randn
// https://github.com/huggingface/candle/issues/381