18#include "kernels/Utils.h"
28bool LogicalOr(
bool x,
bool y) {
return x || y; }
37 Tensor::element_type(kernel.
input2()));
43 Tensor::num_elements(kernel.
input2()));
54 if (x_data ==
nullptr)
57 assert(x_data !=
nullptr);
60 if (y_data ==
nullptr)
63 assert(y_data !=
nullptr);
uint8_t * getConstDataByTensor(const circle::Tensor *raw_tensor)
uint8_t * getDataByTensor(const circle::Tensor *raw_tensor)
const circle::Tensor * output() const
const circle::Tensor * input2() const
const circle::Tensor * input1() const
#define LUCI_INTERPRETER_CHECK(cond)
tflite::RuntimeShape getTensorShape(const Tensor *tensor)
void LogicalCommon(const int flat_size, const bool *input1_data, const bool *input2_data, bool *output_data, bool(*f)(bool, bool))
void execute_kernel_CircleLogicalOr(const circle::Operator *cur_op, BaseRuntimeGraph *runtime_graph)
void configure_kernel_CircleLogicalOr(const circle::Operator *cur_op, BaseRuntimeGraph *runtime_graph)