Add opset 15 support for NNAPI/CoreML EPs (#9711)

This commit is contained in:
Guoyu Wang 2021-11-09 17:21:42 -08:00 committed by GitHub
parent adf98feb2c
commit 517fff0a39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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;