Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Relay] Check if the attribute "name" exists before accessing it (apa…
…che#14485) I found that some models fail to compile with tvm when the target is: compute-library, llvm -mtriple=aarch64-linux-gnu -mattr=+v8.2a,+neon The error is: AttributeError: <class 'tvm.ir.expr.GlobalVar'> has no attribute name. This patch checks if the attribute name exists before accessing it, and solves the compilation issues that I had, producing the expected result during the following inference.
- Loading branch information