Skip to content

Commit

Permalink
Updated macro
Browse files Browse the repository at this point in the history
  • Loading branch information
gkrivor committed Jun 24, 2024
1 parent 9c216a0 commit 339aac2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frontends/onnx/frontend/src/core/operator_set.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ extern bool register_translator(const std::string name,
#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_ARGS__)
#define ONNX_OP(name, range, fn, ...) static bool onnx_op_reg = ONNX_OP_M(name, range, fn, __VA_ARGS__)
#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__)

} // namespace onnx
} // namespace frontend
Expand Down

0 comments on commit 339aac2

Please sign in to comment.