#ifndef TENSORFLOW_LITE_KERNELS_INTERNAL_REFERENCE_INTEGER_OPS_FULLY_CONNECTED_H_
#define TENSORFLOW_LITE_KERNELS_INTERNAL_REFERENCE_INTEGER_OPS_FULLY_CONNECTED_H_
#include <algorithm>
#include "tensorflow/lite/kernels/internal/common.h"
namespace tflite {
namespace reference_integer_ops {
template <typename InputType, typename WeightType, typename OutputType,
typename BiasType>
void FullyConnectedPerChannel(
const FullyConnectedParams& params, const int32_t* output_multiplier,
const int* output_shift, const RuntimeShape& input_shape,
const InputType* input_data, const RuntimeShape& filter_shape,
const WeightType* filter_data, const RuntimeShape& bias_shape,
const BiasType* bias_data, const RuntimeShape& output_shape,
OutputType* output_data) { … }
template <typename InputType, typename WeightType, typename OutputType,
typename BiasType>
void FullyConnected(const FullyConnectedParams& params,
const RuntimeShape& input_shape,
const InputType* input_data,
const RuntimeShape& filter_shape,
const WeightType* filter_data,
const RuntimeShape& bias_shape, const BiasType* bias_data,
const RuntimeShape& output_shape, OutputType* output_data) { … }
}
}
#endif