20#include "kernels/Utils.h"
22#include <tensorflow/lite/kernels/internal/reference/exp.h>
39 switch (
input()->element_type())
41 case DataType::FLOAT32:
45 throw std::runtime_error(
"luci-intp Exp Unsupported type.");
49void Exp::evalFloat()
const
52 tflite::reference_ops::Exp(getTensorData<float>(
input()),
size, getTensorData<float>(
output()));
void resize(const Shape &new_shape)
Exp(const Tensor *input, Tensor *output)
void execute() const override
const Tensor * input() const
void configure() override
#define LUCI_INTERPRETER_CHECK(cond)
tflite::RuntimeShape getTensorShape(const Tensor *tensor)