Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Types | Public Member Functions
nom::repr::Annotation Class Reference

Annotations allow for generic manipulation of neural network operations. More...

#include <NeuralNet.h>

Inheritance diagram for nom::repr::Annotation:
nom::repr::DeviceAnnotation

Public Types

enum  AnnotationKind { Generic, Device }
 

Public Member Functions

 Annotation (AnnotationKind K)
 
AnnotationKind getKind () const
 
 Annotation (const Annotation &)=delete
 
Annotationoperator= (Annotation &)=delete
 
void * getSaved () const
 
void setSaved (void *saved)
 

Detailed Description

Annotations allow for generic manipulation of neural network operations.

The base class contains a saved void* pointer for external use. Derived classes add richer semantics to the annotation and it is encouraged to use them.

Definition at line 37 of file NeuralNet.h.


The documentation for this class was generated from the following file: