19#include <tensorflow/lite/kernels/internal/optimized/optimized_ops.h>
21#include "kernels/Utils.h"
46 switch (
input()->element_type())
48 case DataType::FLOAT32:
64 throw std::runtime_error(
"luci-intp CumSum Unsupported type.");
const CumSumParams & params() const
void resize(const Shape &new_shape)
const Tensor * axis() const
void configure() override
void execute() const override
CumSum(const Tensor *input, const Tensor *axis, Tensor *output, const CumSumParams ¶ms)
const Tensor * input() const
#define LUCI_INTERPRETER_CHECK(cond)
tflite::RuntimeShape getTensorShape(const Tensor *tensor)
T must_cast(loco::Node *node)