22#include "PALComparisons.h"
43 const circle::Tensor *input1 =
nullptr;
44 const circle::Tensor *input2 =
nullptr;
45 const circle::Tensor *
output =
nullptr;
49 TISOHeader(execute_args, &input1, &input2, &output, &runtime_kernel);
51 switch (input1->type())
53 case circle::TensorType_INT64:
54 onert_micro::execute::evalComparisonGeneric<int64_t>(&runtime_kernel,
57 case circle::TensorType_INT32:
58 onert_micro::execute::evalComparisonGeneric<int32_t>(&runtime_kernel,
63 case circle::TensorType_FLOAT32:
64 onert_micro::execute::evalComparisonGeneric<float>(&runtime_kernel,
69 assert(
false &&
"Unsupported type.");
constexpr uint32_t input1TensorIdx
constexpr uint32_t outputTensorIdx
constexpr uint32_t input2TensorIdx
bool NotEqualFn(T lhs, T rhs)
OMStatus TISOHeader(const OMExecuteArgs &execute_args, const circle::Tensor **input1, const circle::Tensor **input2, const circle::Tensor **output, OMRuntimeKernel *runtime_kernel)