18#include "kernels/Utils.h"
20#include <tensorflow/lite/kernels/internal/reference/comparisons.h>
37 if (
x()->element_type() == DataType::U8)
47 switch (
x()->element_type())
49 case DataType::FLOAT32:
62 throw std::runtime_error(
"luci-intp LessEqual Unsupported type.");
66void LessEqual::evalFloat()
const
88template <
typename T>
void LessEqual::evalInteger()
const
111void LessEqual::evalQuantized()
const
121 op_params.input1_multiplier = _x_multiplier;
124 op_params.input2_multiplier = _y_multiplier;
129 tflite::reference_ops::Broadcast4DSlowLessEqualWithScaling(
void resize(const Shape &new_shape)
const Shape & shape() const
int32_t zero_point() const
void execute() const override
void configure() override
LessEqual(const Tensor *x, const Tensor *y, Tensor *output)
#define LUCI_INTERPRETER_CHECK(cond)
Shape calculateShapeForBroadcast(const Shape &input1_shape, const Shape &input2_shape)
tflite::RuntimeShape getTensorShape(const Tensor *tensor)
void quantizeMultiplierSmallerThanOneExp(double double_multiplier, int32_t *quantized_multiplier, int *left_shift)
T must_cast(loco::Node *node)