Currently a draft PR, see related RFC #3042. This PR will only contain the type checking changes to Relay to support Any. @icemelon9 and I will follow up with the related code generation PRs. You can view, comment on, or merge this pull request online at:
https://github.com/dmlc/tvm/pull/3221 -- Commit Summary -- * Implement type checking for Any -- File Changes -- M include/tvm/relay/attrs/transform.h (12) M include/tvm/relay/base.h (18) M include/tvm/relay/op_attr_types.h (11) M include/tvm/relay/type.h (5) M include/tvm/runtime/ndarray.h (2) M python/tvm/_ffi/base.py (2) M python/tvm/api.py (3) M python/tvm/relay/__init__.py (1) M python/tvm/relay/op/_transform.py (49) M python/tvm/relay/op/op.py (5) M python/tvm/relay/op/transform.py (6) M python/tvm/relay/ty.py (1) M src/codegen/llvm/codegen_llvm.cc (4) M src/lang/buffer.cc (19) M src/lang/tensor.cc (12) M src/pass/storage_rewrite.cc (1) M src/relay/backend/compile_engine.cc (30) M src/relay/backend/compile_engine.h (32) M src/relay/backend/graph_runtime_codegen.cc (11) M src/relay/backend/interpreter.cc (184) M src/relay/backend/vm/compiler.cc (3) M src/relay/ir/base.cc (6) M src/relay/ir/pretty_printer.cc (4) M src/relay/ir/type.cc (16) M src/relay/op/tensor/transform.cc (154) M src/relay/op/type_relations.cc (10) M src/relay/pass/type_infer.cc (80) M src/relay/pass/type_solver.cc (309) M src/relay/pass/type_solver.h (16) M src/runtime/ndarray.cc (4) A tests/python/relay/test_any.py (91) -- Patch Links -- https://github.com/dmlc/tvm/pull/3221.patch https://github.com/dmlc/tvm/pull/3221.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/dmlc/tvm/pull/3221