18#include "kernels/Utils.h"
41 switch (
input()->element_type())
43 case DataType::FLOAT32:
47 throw std::runtime_error(
"luci-intp Neg Unsupported type.");
51void Neg::evalFloat()
const
void resize(const Shape &new_shape)
void execute() const override
const Tensor * input() const
void configure() override
Neg(const Tensor *input, Tensor *output)
#define LUCI_INTERPRETER_CHECK(cond)
tflite::RuntimeShape getTensorShape(const Tensor *tensor)