Tensor Comprehensions
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
operator_meta.h File Reference
#include <functional>
#include "caffe2/core/logging.h"
#include "caffe2/core/registry.h"
#include "caffe2/proto/caffe2.pb.h"
Include dependency graph for operator_meta.h:

Go to the source code of this file.

Classes

class  caffe2::ReferenceImplementationRegistry
 
class  caffe2::ReferenceImplementationRegistry::Register
 

Namespaces

 caffe2
 

Macros

#define TC_REFERENCE_IMPLEMENTATION(name, func)
 

Typedefs

using caffe2::ReferenceImplementation = std::function< void(NetDef *, const OperatorDef &)>
 

Macro Definition Documentation

#define TC_REFERENCE_IMPLEMENTATION (   name,
  func 
)
Value:
static ::caffe2::ReferenceImplementationRegistry::Register \
CAFFE_ANONYMOUS_VARIABLE(tc_ref##name)(#name, func);