Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tflchef] Add filler for Less op #12581

Merged
merged 2 commits into from
Jan 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion compiler/tflchef/tflite/src/Op/Less.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,20 @@
#include "Less.h"

#include "Convert.h"
#include "FillerHelper.h"

namespace tflchef
{

void TFliteOpLess::filler(const tflite::Operator *op, TFliteImport *import,
tflchef::ModelRecipe *model_recipe) const
{
// Nothing to do with filler
const auto &inputs = *op->inputs();

for (int input : inputs)
{
fill_tensor_to_import(input, import);
}
Comment on lines +28 to +33
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added due to Less can have Const input as in example for #12319 (comment)

}

tflchef::Operation *TFliteOpLess::build(RecipeChefContext *ctx) const
Expand Down
Loading