17#ifndef LUCI_INTERPRETER_PAL_RELU_H
18#define LUCI_INTERPRETER_PAL_RELU_H
20#include <tensorflow/lite/kernels/internal/optimized/optimized_ops.h>
24static inline void Relu(
const tflite::RuntimeShape &input_shape,
const float *input_data,
25 const tflite::RuntimeShape &
output_shape,
float *output_data)
27 tflite::optimized_ops::Relu(input_shape, input_data,
output_shape, output_data);
31static inline void ReluX(
const tflite::ReluParams ¶ms,
const tflite::RuntimeShape &input_shape,
32 const T *input_data,
const tflite::RuntimeShape &
output_shape,
35 tflite::optimized_ops::ReluX(params, input_shape, input_data,
output_shape, output_data);
const luci_interpreter::RuntimeShape output_shape
void ReluX(const tflite::ReluParams ¶ms, const RuntimeShape &input_shape, const T *input_data, const RuntimeShape &output_shape, T *output_data)