ONE - On-device Neural Engine
Loading...
Searching...
No Matches
Builders.h File Reference
#include "luci_interpreter/core/reader/CircleMicroReader.h"
#include "core/RuntimeModule.h"
#include "KernelsToBuild.lst"

Go to the source code of this file.

Namespaces

namespace  luci_interpreter
 

Macros

#define REGISTER_KERNEL(builtin_operator, name)
 

Macro Definition Documentation

◆ REGISTER_KERNEL

#define REGISTER_KERNEL (   builtin_operator,
  name 
)
Value:
void configure_kernel_Circle##name(const circle::Operator *cur_op, \
BaseRuntimeGraph *runtime_graph); \
\
void execute_kernel_Circle##name(const circle::Operator *cur_op, BaseRuntimeGraph *runtime_graph);

Definition at line 35 of file Builders.h.

50{
51#define REGISTER_TRAIN_KERNEL(builtin_operator, name) \
52 Status train_kernel_Circle##name( \
53 const circle::Operator *op, CircleReader *reader, \
54 GradientCalculationStorage *gradient_calculation_storage, const TrainingSettings &settings, \
55 TrainableWeightStorage *weight_storage, bool is_compute_gradient);
56
57#include "KernelsToTrain.lst"
58
59#undef REGISTER_TRAIN_KERNEL
60} // namespace training
61#endif // ENABLE_TRAINING
62
63} // namespace luci_interpreter
64
65#endif // LUCI_INTERPRETER_KERNELS_NODES_BUILDERS_H