Skip to content

Commit

Permalink
Merge pull request opencv#20453 from rogday:onnx_importer_fix
Browse files Browse the repository at this point in the history
Split layer dispatch into functions in ONNXImporter

* split layer dispatch into functions

* fixes

* identation and comment fixes

* fix constness
  • Loading branch information
rogday authored Jul 28, 2021
1 parent d83901e commit cff0168
Show file tree
Hide file tree
Showing 3 changed files with 1,566 additions and 1,359 deletions.
1 change: 1 addition & 0 deletions modules/dnn/src/dnn_common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Mutex& getInitializationMutex();
void initializeLayerFactory();

namespace detail {
#define CALL_MEMBER_FN(object, ptrToMemFn) ((object).*(ptrToMemFn))

struct NetImplBase
{
Expand Down
Loading

0 comments on commit cff0168

Please sign in to comment.