ONE - On-device Neural Engine
Loading...
Searching...
No Matches
ModelChef.cpp File Reference
#include "tflchef/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.

Namespaces

namespace  tflchef
 

Macros

#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)
 

Macro Definition Documentation

◆ DATA_CHEF

#define DATA_CHEF (   TYPE,
  NAME,
  FACTORY_CLASS 
)
Value:
data_chef_registry(::tflchef::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()));