Fix of support api version bug for [de]quantize (#6492)

This commit is contained in:
Guoyu Wang 2021-01-28 20:12:21 -08:00 committed by GitHub
parent ce46f37ff2
commit d4e1f5ab78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1029,7 +1029,7 @@ class QuantizeLinearOpSupportChecker : public BaseOpSupportChecker {
const OpSupportCheckParams& params) const override;
int32_t GetMinSupportedSdkVer(const Node& /* node */, const OpSupportCheckParams& /* params */) const override {
return 27;
return 29;
}
};
@ -1070,7 +1070,7 @@ class DequantizeLinearOpSupportChecker : public BaseOpSupportChecker {
const OpSupportCheckParams& params) const override;
int32_t GetMinSupportedSdkVer(const Node& /* node */, const OpSupportCheckParams& /* params */) const override {
return 29;
return 27;
}
bool HasSupportedInputsImpl(const Node& node) const override;
};