diff options
Diffstat (limited to 'compiler/tflchef/tflite/src/Op/Minimum.cpp')
-rw-r--r-- | compiler/tflchef/tflite/src/Op/Minimum.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler/tflchef/tflite/src/Op/Minimum.cpp b/compiler/tflchef/tflite/src/Op/Minimum.cpp index 6440f1deb..b4d255ce3 100644 --- a/compiler/tflchef/tflite/src/Op/Minimum.cpp +++ b/compiler/tflchef/tflite/src/Op/Minimum.cpp @@ -25,11 +25,7 @@ namespace tflchef void TFliteOpMinimum::filler(const tflite::Operator *op, TFliteImport *import, tflchef::ModelRecipe *model_recipe) const { - const std::vector<int32_t> &inputs = as_index_vector(op->inputs()); - assert(inputs.size() == 2); - - fill_tensor_to_import(inputs[0], import); - fill_tensor_to_import(inputs[1], import); + fill_two_inputs(op, import); } tflchef::Operation *TFliteOpMinimum::build(const tflite::Operator *op, TFliteImport *import, |