Skip to content

Commit

Permalink
[circlechef] Enable assertion of RmsNorm (Samsung#14202)
Browse files Browse the repository at this point in the history
This commit enables assertion of RmsNorm, which is temporarily commented.

ONE-DCO-1.0-Signed-off-by: Seockho Kim [email protected]
  • Loading branch information
seockho-kim authored Oct 11, 2024
1 parent 998d262 commit f47659f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions compiler/circlechef/circle/src/Op/RmsNorm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ void CircleOpRmsNorm::filler(const circle::Operator *op, CircleImport *import,
{
// index 1 maybe constant
const std::vector<int32_t> &inputs = as_index_vector(op->inputs());
// TODO: Enable assert after recipe updated.
// assert(inputs.size() == 2);
assert(inputs.size() == 2);

import->set_tensor_filler(inputs[1]); // set gaussian filler
}
Expand Down

0 comments on commit f47659f

Please sign in to comment.