mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
Merge pull request #20080 from pauljurczak:patch-3
* Update dnn.hpp getPerfProfile is not supported by the CUDA backend, see https://github.com/opencv/opencv/issues/20077 * dnn.hpp: fix doxygen formatting
This commit is contained in:
parent
7d91dfe339
commit
ff60abb575
@ -712,9 +712,11 @@ CV__DNN_EXPERIMENTAL_NS_BEGIN
|
|||||||
CV_WRAP void enableFusion(bool fusion);
|
CV_WRAP void enableFusion(bool fusion);
|
||||||
|
|
||||||
/** @brief Returns overall time for inference and timings (in ticks) for layers.
|
/** @brief Returns overall time for inference and timings (in ticks) for layers.
|
||||||
|
*
|
||||||
* Indexes in returned vector correspond to layers ids. Some layers can be fused with others,
|
* Indexes in returned vector correspond to layers ids. Some layers can be fused with others,
|
||||||
* in this case zero ticks count will be return for that skipped layers.
|
* in this case zero ticks count will be return for that skipped layers. Supported by DNN_BACKEND_OPENCV on DNN_TARGET_CPU only.
|
||||||
* @param timings vector for tick timings for all layers.
|
*
|
||||||
|
* @param[out] timings vector for tick timings for all layers.
|
||||||
* @return overall ticks for model inference.
|
* @return overall ticks for model inference.
|
||||||
*/
|
*/
|
||||||
CV_WRAP int64 getPerfProfile(CV_OUT std::vector<double>& timings);
|
CV_WRAP int64 getPerfProfile(CV_OUT std::vector<double>& timings);
|
||||||
|
Loading…
Reference in New Issue
Block a user