\brief Get the number of layers in the network. The number of layers in the network is not necessarily the number in the original network definition, as layers may be combined or eliminated as the engine is optimized. This value can be useful when building per-layer tables, such as when aggregating profiling data over a number of executions. \return The number of layers in the network.
| 1725 | //! \return The number of layers in the network. |
| 1726 | //! |
| 1727 | int32_t getNbLayers() const noexcept |
| 1728 | { |
| 1729 | return mImpl->getNbLayers(); |
| 1730 | } |
| 1731 | |
| 1732 | //! |
| 1733 | //! \brief Serialize the network to a stream. |
no outgoing calls
no test coverage detected