20#include "kernels/Utils.h"
22#include "kernels/BinaryOpCommon.h"
43 switch (
input1()->element_type())
49 throw std::runtime_error(
"luci-intp LogicalAnd Unsupported type.");
53inline void LogicalAnd::evalLogicalAnd()
const
58 [](
bool x,
bool y) {
return x && y; });
void resize(const Shape &new_shape)
LogicalAnd(const Tensor *input1, const Tensor *input2, Tensor *output)
const Tensor * input2() const
void execute() const override
void configure() override
const Tensor * input1() const
#define LUCI_INTERPRETER_CHECK(cond)
Shape calculateShapeForBroadcast(const Shape &input1_shape, const Shape &input2_shape)
tflite::RuntimeShape getTensorShape(const Tensor *tensor)
void BinaryOpBroadcastSlow(const tflite::RuntimeShape &unextended_input1_shape, const T *input1_data, const tflite::RuntimeShape &unextended_input2_shape, const T *input2_data, const tflite::RuntimeShape &unextended_output_shape, T *output_data, Op op)