mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
Add opset 15 support for NNAPI/CoreML EPs (#9711)
This commit is contained in:
parent
adf98feb2c
commit
517fff0a39
2 changed files with 3 additions and 3 deletions
|
|
@ -15,7 +15,7 @@ class BaseOpBuilder : public IOpBuilder {
|
|||
virtual ~BaseOpBuilder() = default;
|
||||
|
||||
// Add operator related
|
||||
|
||||
|
||||
#ifdef __APPLE__
|
||||
public:
|
||||
virtual void AddInitializersToSkip(ModelBuilder& /* model_builder */, const Node& /* node */) const override {}
|
||||
|
|
@ -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 14; }
|
||||
virtual int GetMaxSupportedOpSet(const Node& /* node */) const { return 15; }
|
||||
|
||||
private:
|
||||
bool HasSupportedOpSet(const Node& node, const logging::Logger& logger) const;
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ class BaseOpSupportChecker : public IOpSupportChecker {
|
|||
virtual bool HasSupportedInputsImpl(const Node& node) 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 15; }
|
||||
|
||||
private:
|
||||
bool HasSupportedOpSet(const Node& node) const;
|
||||
|
|
|
|||
Loading…
Reference in a new issue