17#ifndef LUCI_INTERPRETER_KERNELS_ONEHOT_H
18#define LUCI_INTERPRETER_KERNELS_ONEHOT_H
28class OneHot :
public KernelWithParams<OneHotParams>
const std::vector< const Tensor * > _inputs
const std::vector< Tensor * > _outputs
const OneHotParams & params() const
const Tensor * on_value() const
OneHot(const Tensor *indices, const Tensor *depth, const Tensor *on_value, const Tensor *off_value, Tensor *output, const OneHotParams ¶ms)
const Tensor * off_value() const
const Tensor * depth() const
void execute() const override
const Tensor * indices() const
void configure() override
void OneHot(const int32_t depth, const T on_value, const T off_value, int32_t axis, const Shape &indices_shape, const TI *indices_data, const Shape &, T *output_data)