18#include "kernels/Utils.h"
20#include <tensorflow/lite/kernels/internal/reference/comparisons.h>
40 if (
x()->element_type() == DataType::U8)
50 switch (
x()->element_type())
52 case DataType::FLOAT32:
65 throw std::runtime_error(
"luci-intp GreaterEqual Unsupported type.");
69void GreaterEqual::evalFloat()
const
91template <
typename T>
void GreaterEqual::evalInteger()
const
102 tflite::reference_ops::Broadcast4DSlowGreaterEqualNoScaling(
114void GreaterEqual::evalQuantized()
const
124 op_params.input1_multiplier = _x_multiplier;
127 op_params.input2_multiplier = _y_multiplier;
132 tflite::reference_ops::Broadcast4DSlowGreaterEqualWithScaling(
void resize(const Shape &new_shape)
const Shape & shape() const
int32_t zero_point() const
GreaterEqual(const Tensor *x, const Tensor *y, Tensor *output)
void configure() override
void execute() const override
#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)