17#ifndef LUCI_INTERPRETER_PAL_LOGSOFTMAX_H
18#define LUCI_INTERPRETER_PAL_LOGSOFTMAX_H
20#include <tensorflow/lite/kernels/internal/optimized/optimized_ops.h>
27 tflite::optimized_ops::PopulateSoftmaxLookupTable(data, input_scale, beta);
30static inline void InitializeParams(tflite::SoftmaxParams *params,
float input_scale,
float beta)
38static inline void LogSoftmax(
const tflite::SoftmaxParams ¶ms,
float input_scale,
39 const tflite::RuntimeShape &input_shape,
const uint8 *input_data,
42 tflite::optimized_ops::LogSoftmax(params, input_scale, input_shape, input_data,
output_shape,
const luci_interpreter::RuntimeShape output_shape
void LogSoftmax(const SoftmaxParams ¶ms, const Shape &input_shape, const float *input_data, const Shape &output_shape, float *output_data)
void PopulateSoftmaxLookupTable(float *table, float input_scale, float beta)