Skip to content
Snippets Groups Projects
Commit d87663c3 authored by Maxence Naud's avatar Maxence Naud
Browse files

Add tag to ReduceMean test

parent 8d7f0c64
No related branches found
No related tags found
2 merge requests!50version 0.2.0,!20Vit operators
......@@ -20,7 +20,7 @@
using namespace Aidge;
TEST_CASE("[cpu/operator] ReduceMean(forward)") {
TEST_CASE("[cpu/operator] ReduceMean(forward)", "[ReduceMean][CPU]") {
SECTION("KeepDims") {
std::shared_ptr<Tensor> myInput = std::make_shared<Tensor>(Array3D<float,3,2,2> {
{
......@@ -76,7 +76,7 @@ TEST_CASE("[cpu/operator] ReduceMean(forward)") {
}
});
std::shared_ptr<Tensor> myOutput = std::make_shared<Tensor>(Array2D<float,3,2> {
{
{
{ 12.5, 1.5 },
{ 35.0, 1.5 },
{ 57.5, 1.5 }
......@@ -124,7 +124,7 @@ TEST_CASE("[cpu/operator] ReduceMean(forward)") {
op->computeOutputDims();
myReduceMean->forward();
op->getOutput(0)->print();
REQUIRE(*(op->getOutput(0)) == *myOutput);
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment