20#include "kernels/Utils.h"
33inline void CalcSin(
const T *input_data,
const size_t num_elements, T *output_data)
35 for (
size_t idx = 0;
idx < num_elements; ++
idx)
54 switch (
input()->element_type())
56 case DataType::FLOAT32:
60 throw std::runtime_error(
"luci-intp Sin Unsupported type.");
64void Sin::evalFloat()
const
void resize(const Shape &new_shape)
void configure() override
void execute() const override
const Tensor * input() const
Sin(const Tensor *input, Tensor *output)
#define LUCI_INTERPRETER_CHECK(cond)
tflite::RuntimeShape getTensorShape(const Tensor *tensor)
T must_cast(loco::Node *node)