Skip to content

Commit

Permalink
Another code style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gkrivor committed Jun 24, 2024
1 parent 339aac2 commit e260290
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/frontends/onnx/frontend/src/core/operator_set.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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_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 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
Expand Down

0 comments on commit e260290

Please sign in to comment.