18#include "kernels/Utils.h"
20#include "kernels/BinaryOpCommon.h"
33 Tensor::element_type(kernel.
input2()));
35 Tensor::element_type(kernel.
input2()));
42 const auto *options =
cur_op->builtin_options_as_DivOptions();
54 switch (Tensor::element_type(kernel.
input1()))
57 case DataType::FLOAT32:
59 auto tiso_func = luci_interpreter_pal::Div<float>;
78 assert(
false &&
"Unsupported type.");
bool is_inplace_op(const circle::Operator *op)
const circle::Tensor * output() const
const circle::Tensor * input2() const
const circle::Tensor * input1() const
#define LUCI_INTERPRETER_CHECK(cond)
const luci_interpreter::RuntimeShape output_shape
luci_interpreter::RuntimeShape getTensorRuntimeShape(const circle::Tensor *circle_tensor, BaseRuntimeGraph *runtime_graph)
void execute_kernel_CircleDiv(const circle::Operator *cur_op, BaseRuntimeGraph *runtime_graph)
void configure_kernel_CircleDiv(const circle::Operator *cur_op, BaseRuntimeGraph *runtime_graph)
T must_cast(loco::Node *node)