def generate_body(self):
return self._generate_dispatch_entrypoints("static")
-class LayerDispatchSubcommand(Subcommand):
- def generate_header(self):
- return '#include "layer_wrappers.h"'
-
- def generate_body(self):
- return self._generate_layer_initialization()
-
class GenericLayerSubcommand(Subcommand):
def generate_header(self):
gen_header = []
def main():
subcommands = {
"layer-funcs" : LayerFuncsSubcommand,
- "layer-dispatch" : LayerDispatchSubcommand,
"Generic" : GenericLayerSubcommand,
"APIDump" : APIDumpSubcommand,
"ObjectTracker" : ObjectTrackerSubcommand,