1 // Copyright (C) 2018-2019 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
6 * @brief A header file that provides utilities for calculating per layer theoretical statistic
10 #include <unordered_map>
12 #include <cpp/ie_cnn_network.h>
14 namespace InferenceEngine {
17 * @brief Contains information about floating point operations
18 * and common size of parameter blobs.
20 struct LayerComplexity {
21 /** @brief Number of floating point operations for reference implementation */
23 /** @brief Total size of parameter blobs */
28 * @brief Computes per layer theoretical computational and memory
31 * @param network input graph
32 * @return map from layer name to layer complexity
34 std::unordered_map<std::string, LayerComplexity> getNetworkComplexity(const InferenceEngine::ICNNNetwork &network);
36 } // namespace InferenceEngine