17#ifndef LUCI_INTERPRETER_PAL_SUB_H
18#define LUCI_INTERPRETER_PAL_SUB_H
20#include <tensorflow/lite/kernels/internal/optimized/legacy_optimized_ops.h>
25static inline void Sub(
const tflite::ArithmeticParams ¶ms,
26 const tflite::RuntimeShape &input1_shape,
const T *input1_data,
27 const tflite::RuntimeShape &input2_shape,
const T *input2_data,
28 const tflite::RuntimeShape &
output_shape, T *output_data)
30 tflite::optimized_ops::Sub(params, input1_shape, input1_data, input2_shape, input2_data,
const luci_interpreter::RuntimeShape output_shape
void Sub(const BinaryArithmeticOpParam ¶ms, const Shape &input1_shape, const float *input1_data, const Shape &input2_shape, const float *input2_data, const Shape &output_shape, float *output_data)