17#ifndef LUCI_INTERPRETER_PAL_MUL_H
18#define LUCI_INTERPRETER_PAL_MUL_H
20#include <tensorflow/lite/kernels/internal/optimized/optimized_ops.h>
25static inline void Mul(tflite::ArithmeticParams ¶ms,
const tflite::RuntimeShape &input1_shape,
26 const T *input1_data,
const tflite::RuntimeShape &input2_shape,
27 const T *input2_data,
const tflite::RuntimeShape &
output_shape,
30 tflite::optimized_ops::Mul(params, input1_shape, input1_data, input2_shape, input2_data,
35inline void Mul(tflite::ArithmeticParams ¶ms,
const tflite::RuntimeShape &input1_shape,
36 const int64_t *input1_data,
const tflite::RuntimeShape &input2_shape,
37 const int64_t *input2_data,
const tflite::RuntimeShape &
output_shape,
40 tflite::optimized_ops::BroadcastMul4DSlow(params, input1_shape, input1_data, input2_shape,
46BroadcastMul4DSlow(tflite::ArithmeticParams ¶ms,
const tflite::RuntimeShape &input1_shape,
47 const T *input1_data,
const tflite::RuntimeShape &input2_shape,
48 const T *input2_data,
const tflite::RuntimeShape &
output_shape, T *output_data)
50 tflite::optimized_ops::BroadcastMul4DSlow(params, input1_shape, input1_data, input2_shape,
const luci_interpreter::RuntimeShape output_shape
std::enable_if_t< is_quant8< T >::value > Mul(const BinaryArithmeticOpParam ¶ms, const Shape &input1_shape, const T *input1_data, const Shape &input2_shape, const T *input2_data, const Shape &output_shape, T *output_data)