#include "circlechef/ModelChef.h"
#include <souschef/RangedArguments.h>
#include <souschef/Registry.h>
#include "Convert.h"
#include <souschef/DataChefs.h>
#include "OpChef.h"
#include "OpChefs.h"
#include <souschef/Dataset.h>
#include <souschef/Dims.h>
#include "Log.h"
#include <iterator>
#include <map>
#include <string>
#include <vector>
#include <cassert>
#include <fstream>
#include <iostream>
#include <numeric>
#include <sstream>
#include <stdexcept>
#include "OpChef.def"
#include "DataChef.def"
Go to the source code of this file.
|
#define | OP_CHEF(NAME, FACTORY_CLASS) op_chef_registry().add(#NAME, std::unique_ptr<FACTORY_CLASS>(new FACTORY_CLASS())); |
|
#define | DATA_CHEF(TYPE, NAME, FACTORY_CLASS) |
|
|
GeneratedModel | circlechef::cook (const ::circlechef::ModelRecipe &model_recipe) |
| Generate a (in-memory) TensorFlow Lite model from a given model recipe.
|
|
◆ DATA_CHEF
#define DATA_CHEF |
( |
|
TYPE, |
|
|
|
NAME, |
|
|
|
FACTORY_CLASS |
|
) |
| |
Value: data_chef_registry(::circlechef::TYPE) \
.add(#NAME, std::unique_ptr<FACTORY_CLASS>(new FACTORY_CLASS()));
◆ OP_CHEF
#define OP_CHEF |
( |
|
NAME, |
|
|
|
FACTORY_CLASS |
|
) |
| op_chef_registry().add(#NAME, std::unique_ptr<FACTORY_CLASS>(new FACTORY_CLASS())); |