mirror of
https://github.com/opencv/opencv.git
synced 2025-07-24 14:06:27 +08:00
Merge pull request #20478 from rogday:onnx_refactor_master
This commit is contained in:
commit
610e3dccb7
@ -14,6 +14,7 @@ Mutex& getInitializationMutex();
|
||||
void initializeLayerFactory();
|
||||
|
||||
namespace detail {
|
||||
#define CALL_MEMBER_FN(object, ptrToMemFn) ((object).*(ptrToMemFn))
|
||||
|
||||
class NotImplemented : public Layer
|
||||
{
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -2894,7 +2894,7 @@ void TFImporter::parseNode(const tensorflow::NodeDef& layer)
|
||||
DispatchMap::const_iterator iter = dispatch.find(type);
|
||||
if (iter != dispatch.end())
|
||||
{
|
||||
((*this).*(iter->second))(net, layer, layerParams);
|
||||
CALL_MEMBER_FN(*this, iter->second)(net, layer, layerParams);
|
||||
}
|
||||
else if (!DNN_DIAGNOSTICS_RUN || !layerHandler->handleMissing(layer))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user