Caffe2 - C++ API
A deep learning, cross platform ML framework
Related Pages
Modules
Data Structures
Files
C++ API
Python API
GitHub
File List
Globals
modules
observers
net_observer_reporter.h
1
#pragma once
2
#include <map>
3
#include "caffe2/core/net.h"
4
5
namespace
caffe2
{
6
7
class
NetObserverReporter
{
8
public
:
9
virtual
~
NetObserverReporter
() =
default
;
10
11
/*
12
Report the delay metric collected by the observer.
13
The delays are saved in a map. The key is an identifier associated
14
with the reported delay. The value is the delay value in float
15
*/
16
virtual
void
reportDelay(
17
NetBase
* net,
18
std::map<std::string, double>& delays,
19
const
char
* unit) = 0;
20
};
21
}
caffe2::NetObserverReporter
Definition:
net_observer_reporter.h:7
caffe2
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...
Definition:
convert_encoded_to_raw_leveldb.cc:47
caffe2::NetBase
Definition:
net.h:35
Generated on Thu Apr 19 2018 13:03:57 for Caffe2 - C++ API by
1.8.11