17#ifndef LUCI_INTERPRETER_KERNELS_NODES_BUILDERS_H
18#define LUCI_INTERPRETER_KERNELS_NODES_BUILDERS_H
21#include "core/RuntimeModule.h"
28#ifdef USE_STATIC_ALLOC
35#define REGISTER_KERNEL(builtin_operator, name) \
36 void configure_kernel_Circle##name(const circle::Operator *cur_op, \
37 BaseRuntimeGraph *runtime_graph); \
39 void execute_kernel_Circle##name(const circle::Operator *cur_op, BaseRuntimeGraph *runtime_graph);
35#define REGISTER_KERNEL(builtin_operator, name) \ …
42#include "GeneratedKernelsToBuild.lst"
44#include "KernelsToBuild.lst"
52#define REGISTER_TRAIN_KERNEL(builtin_operator, name) \
53 Status train_kernel_Circle##name( \
54 const circle::Operator *op, CircleReader *reader, \
55 GradientCalculationStorage *gradient_calculation_storage, const TrainingSettings &settings, \
56 TrainableWeightStorage *weight_storage, bool is_compute_gradient);
58#include "KernelsToTrain.lst"
60#undef REGISTER_TRAIN_KERNEL
RuntimeGraph BaseRuntimeGraph