22 class NetworkNodeStats;
61 virtual bool isEmpty()
const = 0;
80 float mn = (std::numeric_limits<float>::max)();
81 float mx = (std::numeric_limits<float>::min)();
83 for (
int i = 0; i < statCount; i++) {
84 _minOutputs.push_back(mn);
85 _maxOutputs.push_back(mx);
NetworkNodeStats()
The constructor which creates NetworkNodeStats object.
Definition: ie_icnn_network_stats.hpp:73
std::map< std::string, NetworkNodeStatsPtr > NetworkStatsMap
A map of pairs: name of a layer and related statistics.
Definition: ie_icnn_network_stats.hpp:34
Inference Engine API.
Definition: ie_argmax_layer.hpp:11
std::weak_ptr< NetworkNodeStats > NetworkNodeStatsWeakPtr
A smart pointer to the NetworkNodeStats object.
Definition: ie_icnn_network_stats.hpp:30
std::vector< float > _maxOutputs
Vector of floats which contains maximum values of layers activations.
Definition: ie_icnn_network_stats.hpp:97
virtual const NetworkStatsMap & getNodesStats() const =0
Gets a map which contains layers with statistics.
virtual void setNodesStats(const NetworkStatsMap &stats)=0
Sets a map which contains layers with statistics.
virtual bool isEmpty() const =0
Checks if a container is empty.
std::shared_ptr< NetworkNodeStats > NetworkNodeStatsPtr
A shared pointer to the NetworkNodeStats object.
Definition: ie_icnn_network_stats.hpp:26
This class implements a container which stores statistics for a layer.
Definition: ie_icnn_network_stats.hpp:68
A header file for the Inference Engine plugins destruction mechanism.
This is the interface to describe the NN topology scoring statistics.
Definition: ie_icnn_network_stats.hpp:39
NetworkNodeStats(int statCount)
The constructor which creates NetworkNodeStats object with filled statistics.
Definition: ie_icnn_network_stats.hpp:79
std::vector< float > _minOutputs
Vector of floats which contains minimum values of layers activations.
Definition: ie_icnn_network_stats.hpp:93