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

Adjust output size w.r.t datatype

parent d39f04f3
No related branches found
No related tags found
1 merge request!332Add selection mechanism in graph
......@@ -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