Name |
Last commit
|
Last update |
---|---|---|
.. | ||
contrib | ||
vm | ||
build_module.cc | ||
compile_engine.cc | ||
compile_engine.h | ||
graph_plan_memory.cc | ||
graph_runtime_codegen.cc | ||
interpreter.cc | ||
param_dict.cc | ||
param_dict.h | ||
utils.h |
This PR moves a few base types from relay and low-level Expr into the ir sub-folder. These classes will serve as a common type system across the stack. Rationale: - PrimExpr for low-level expressions - RelayExpr for advanced features, including Function definition. - Introduce BaseFunc to host all functions, including future PrimFunc(low-level expr functions, subject to discussion). This is a minimum change we can do to unify the classes into a common hierarchy. The main data structure that are variant specific will still be kept in the sub-namespaces. We only include classes that is needed to allow a common Module class. - BaseFunc - GlobalVar - Type definition part of ADT We will only need the BaseFunc and their checked_type to decide the calling convention across the function variants.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
contrib | Loading commit data... | |
vm | Loading commit data... | |
build_module.cc | Loading commit data... | |
compile_engine.cc | Loading commit data... | |
compile_engine.h | Loading commit data... | |
graph_plan_memory.cc | Loading commit data... | |
graph_runtime_codegen.cc | Loading commit data... | |
interpreter.cc | Loading commit data... | |
param_dict.cc | Loading commit data... | |
param_dict.h | Loading commit data... | |
utils.h | Loading commit data... |