diff --git a/src/frontends/onnx/frontend/src/core/operator_set.hpp b/src/frontends/onnx/frontend/src/core/operator_set.hpp index 626a3893924480..bb7b6cbadc0013 100644 --- a/src/frontends/onnx/frontend/src/core/operator_set.hpp +++ b/src/frontends/onnx/frontend/src/core/operator_set.hpp @@ -36,11 +36,12 @@ extern bool register_translator(const std::string name, const Operator fn, const std::string domain = ""); -#define OPSET_RANGE(_in, _until) VersionRange { _in, _until } -#define OPSET_SINCE(_since) VersionRange::since(_since) -#define OPSET_IN(_in) VersionRange::in(_in) -#define ONNX_OP_M(name, range, fn, ...) register_translator(name, range, fn __VA_OPT__(, ) __VA_ARGS__) -#define ONNX_OP(name, range, fn, ...) static bool onnx_op_reg = ONNX_OP_M(name, range, fn __VA_OPT__(, ) __VA_ARGS__) +#define OPSET_RANGE(_in, _until) \ + VersionRange { _in, _until } +#define OPSET_SINCE(_since) VersionRange::since(_since) +#define OPSET_IN(_in) VersionRange::in(_in) +#define ONNX_OP_M(name, range, ...) register_translator(name, range, __VA_ARGS__) +#define ONNX_OP(name, range, ...) static bool onnx_op_reg = ONNX_OP_M(name, range, __VA_ARGS__) } // namespace onnx } // namespace frontend