19#include "kernels/Utils.h"
21#include "PALBatchToSpaceND.h"
83 switch (
input()->element_type())
85 case DataType::FLOAT32:
86 luci_interpreter_pal::BatchToSpaceND(
92 luci_interpreter_pal::BatchToSpaceND(
99 throw std::runtime_error(
"luci-intp BatchToSpaceND Unsupported type.");
void resize(const Shape &new_shape)
const Shape & shape() const
const Tensor * block_shape() const
BatchToSpaceND(const Tensor *input, const Tensor *block_shape, const Tensor *crops, Tensor *output)
void configure() override
void execute() const override
const Tensor * crops() const
const Tensor * input() const
#define LUCI_INTERPRETER_CHECK(cond)
const luci_interpreter::RuntimeShape output_shape
tflite::RuntimeShape getTensorShape(const Tensor *tensor)
T must_cast(loco::Node *node)