Skip to content

Commit

Permalink
Allow graphs with ONNX opseet 18 to be executed by ORT
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiago Crepaldi committed Sep 7, 2022
1 parent 400195a commit c213a27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class BaseOpBuilder : public IOpBuilder {
virtual bool HasSupportedInputsImpl(const Node& node, const logging::Logger& logger) const;

virtual int GetMinSupportedOpSet(const Node& /* node */) const { return 1; }
virtual int GetMaxSupportedOpSet(const Node& /* node */) const { return 17; }
virtual int GetMaxSupportedOpSet(const Node& /* node */) const { return 18; }

private:
bool HasSupportedOpSet(const Node& node, const logging::Logger& logger) const;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ class BaseOpSupportChecker : public IOpSupportChecker {
const OpSupportCheckParams& params) const;

virtual int GetMinSupportedOpSet(const NodeUnit& /* node_unit */) const { return 1; }
virtual int GetMaxSupportedOpSet(const NodeUnit& /* node_unit */) const { return 17; }
virtual int GetMaxSupportedOpSet(const NodeUnit& /* node_unit */) const { return 18; }

// Check if this node_unit's type is supported
// SingleNode type NodeUnit is supported
Expand Down

0 comments on commit c213a27

Please sign in to comment.