[Bug] Value None in attribute "mode" of operator Upsample is not valid #16621
Labels
needs-triage
PRs or issues that need to be investigated by maintainers to find the right assignees to address it
type: bug
Actual behavior
tvm.error.OpAttributeInvalid: Value None in attribute "mode" of operator Upsample is not valid.
Environment
Any environment details, such as: Operating System, TVM version, etc
Steps to reproduce
Triage
Analysis
The attribute "mode" in the operator Upsample is an optional attribute with the default value "nearest".
Thus, the value "None "should be considered as "nearest".
The text was updated successfully, but these errors were encountered: