17#ifndef LUCI_INTERPRETER_PAL_SUB_COMMON_H
18#define LUCI_INTERPRETER_PAL_SUB_COMMON_H
25static inline void Sub(
const ArithmeticParams ¶ms,
const int flat_size,
const T *input1_data,
26 const T *input2_data, T *output_data)
38 BroadcastArithmeticOp4DSlow<T, SubFn<T>>(params, input1_shape, input1_data, input2_shape,
const luci_interpreter::RuntimeShape output_shape
const std::vector< float > input1_data
const std::vector< float > input2_data
void BroadcastSub4DSlow(const ArithmeticParams ¶ms, const luci_interpreter::RuntimeShape &input1_shape, const T *input1_data, const luci_interpreter::RuntimeShape &input2_shape, const T *input2_data, const luci_interpreter::RuntimeShape &output_shape, T *output_data)
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)