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
Branches
Tags
3 merge requests!414Update version 0.5.1 -> 0.6.0,!408[Add] Dropout Operator,!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.
Please register or to comment