mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-29 23:06:41 +00:00
[WebNN EP] Upgrade max supported opset to 19 (#16036)
This commit is contained in:
parent
efc84a43e8
commit
bcd8b73343
2 changed files with 3 additions and 2 deletions
|
|
@ -97,7 +97,8 @@ bool BaseOpBuilder::HasSupportedOpSet(const Node& node,
|
|||
const logging::Logger& logger) const {
|
||||
auto since_version = node.SinceVersion();
|
||||
if (since_version < GetMinSupportedOpSet(node) || since_version > GetMaxSupportedOpSet(node)) {
|
||||
LOGS(logger, VERBOSE) << node.OpType() << "is only supported for opset ["
|
||||
LOGS(logger, VERBOSE) << "Current opset is " << since_version << ", "
|
||||
<< node.OpType() << " is only supported for opset ["
|
||||
<< GetMinSupportedOpSet(node) << ", "
|
||||
<< GetMaxSupportedOpSet(node) << "]";
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -39,7 +39,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 14; }
|
||||
virtual int GetMaxSupportedOpSet(const Node& /* node */) const { return 19; }
|
||||
|
||||
private:
|
||||
bool HasSupportedOpSet(const Node& node, const logging::Logger& logger) const;
|
||||
|
|
|
|||
Loading…
Reference in a new issue