Skip to content
Snippets Groups Projects
Commit 7bd2c0f9 authored by Olivier BICHLER's avatar Olivier BICHLER
Browse files

Fixed parameter input for Memorize

parent bc1aa588
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ public:
using attr = typename Attributes_::template attr<e>;
Memorize_Op(const unsigned int endStep)
: OperatorTensor(Type, 2, 0, 2),
: OperatorTensor(Type, 1, 1, 2),
Attributes_(attr<MemorizeAttr::ScheduleStep>(0),
attr<MemorizeAttr::ForwardStep>(0),
attr<MemorizeAttr::EndStep>(endStep))
......
......@@ -60,7 +60,7 @@ TEST_CASE("[core/operators] MetaOperator", "[Operator]") {
microGraph->save("lstm", false, false);
REQUIRE(myLSTM->nbInputs() == 3 + 8 + 8);
REQUIRE(myLSTM->nbData() == 3);
REQUIRE(myLSTM->nbData() == 1);
REQUIRE(myLSTM->nbOutputs() == 2);
std::shared_ptr<Tensor> myInput = std::make_shared<Tensor>();
......
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