diff --git a/include/aidge/operator/Pop.hpp b/include/aidge/operator/Pop.hpp index 206fd04f45f12d77812ea25afe36204bd62a0ee3..2cf567329496e5f8a7745ab3461dc6f74d0ea1ba 100644 --- a/include/aidge/operator/Pop.hpp +++ b/include/aidge/operator/Pop.hpp @@ -88,7 +88,7 @@ public: void forward() override; /** - * @brief Executes the forward pass for the `Pop` operation. + * @brief Executes the backward pass for the `Pop` operation. */ void backward() override; }; @@ -99,7 +99,7 @@ public: */ enum class PopAttr { ForwardStep, // Tracks the current step in the forward pass - BackwardStep + BackwardStep // Tracks the current step in the backward pass }; /** diff --git a/unit_tests/operator/Test_PopImpl.cpp b/unit_tests/operator/Test_PopImpl.cpp index 389ed0a57c4bbe206b2fa73d21f13d7ee40ac615..2f639a13964bd6b9fc95cbf4a22f8cc235b333f7 100644 --- a/unit_tests/operator/Test_PopImpl.cpp +++ b/unit_tests/operator/Test_PopImpl.cpp @@ -19,7 +19,7 @@ using namespace Aidge; -TEST_CASE("[cpu/operator] Pop(forward)", "[Pop][CPU]") { +TEST_CASE("[cpu/operator] Pop", "[Pop][CPU]") { std::shared_ptr<Tensor> pop1 = std::make_shared<Tensor>(Array1D<int,3>{{4,5,6}}); std::shared_ptr<Tensor> pop2 = std::make_shared<Tensor>(Array1D<int,3>{{1,2,3}}); std::shared_ptr<Tensor> input = std::make_shared<Tensor>(Array2D<int,2,3>{{{1,2,3}, {4,5,6}}}); @@ -35,7 +35,6 @@ TEST_CASE("[cpu/operator] Pop(forward)", "[Pop][CPU]") { REQUIRE(*op->getOutput(0) == *pop2); REQUIRE_NOTHROW(pop->forward()); REQUIRE(*op->getOutput(0) == *pop1); - // Backward