18#include "kernels/Utils.h"
27bool LogicalAnd(
bool x,
bool y) {
return x && y; }
36 Tensor::element_type(kernel.
input2()));
42 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 configure_kernel_CircleLogicalAnd(const circle::Operator *cur_op, BaseRuntimeGraph *runtime_graph)
void execute_kernel_CircleLogicalAnd(const circle::Operator *cur_op, BaseRuntimeGraph *runtime_graph)