mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
Update max opset for NNAPI and CoreML. (#12831)
Update max opset for NNAPI and CoreML. Changes in opsets 16 and 17 don't require any updates.
This commit is contained in:
parent
9e47eb68e0
commit
ac4f1bf960
2 changed files with 3 additions and 3 deletions
|
|
@ -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 15; }
|
||||
virtual int GetMaxSupportedOpSet(const Node& /* node */) const { return 17; }
|
||||
|
||||
private:
|
||||
bool HasSupportedOpSet(const Node& node, const logging::Logger& logger) const;
|
||||
|
|
@ -54,4 +54,4 @@ class BaseOpBuilder : public IOpBuilder {
|
|||
};
|
||||
|
||||
} // namespace coreml
|
||||
} // namespace onnxruntime
|
||||
} // namespace onnxruntime
|
||||
|
|
|
|||
|
|
@ -346,7 +346,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 15; }
|
||||
virtual int GetMaxSupportedOpSet(const NodeUnit& /* node_unit */) const { return 17; }
|
||||
|
||||
// Check if this node_unit's type is supported
|
||||
// SingleNode type NodeUnit is supported
|
||||
|
|
|
|||
Loading…
Reference in a new issue