Name |
Last commit
|
Last update |
---|---|---|
.. | ||
attrs | ||
qnn | ||
adt.h | ||
analysis.h | ||
base.h | ||
error.h | ||
expr.h | ||
expr_functor.h | ||
feature.h | ||
interpreter.h | ||
module.h | ||
op.h | ||
op_attr_types.h | ||
pattern_functor.h | ||
transform.h | ||
type.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 |
---|---|---|
.. | ||
attrs | Loading commit data... | |
qnn | Loading commit data... | |
adt.h | Loading commit data... | |
analysis.h | Loading commit data... | |
base.h | Loading commit data... | |
error.h | Loading commit data... | |
expr.h | Loading commit data... | |
expr_functor.h | Loading commit data... | |
feature.h | Loading commit data... | |
interpreter.h | Loading commit data... | |
module.h | Loading commit data... | |
op.h | Loading commit data... | |
op_attr_types.h | Loading commit data... | |
pattern_functor.h | Loading commit data... | |
transform.h | Loading commit data... | |
type.h | Loading commit data... |