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

Adjust output size w.r.t datatype

parent 72f0848d
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ std::shared_ptr<Aidge::Operator> Aidge::CryptoHash_Op::clone() const {
}
bool Aidge::CryptoHash_Op::forwardDims(bool /*allowDataDependency*/) {
mOutputs[0]->resize({256});
mOutputs[0]->resize({256 / getDataTypeBitWidth(mOutputs[0]->dataType())});
return true;
}
......
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