Name |
Last commit
|
Last update |
---|---|---|
.. | ||
adt.cc | ||
alpha_equal.cc | ||
base.cc | ||
doc.cc | ||
doc.h | ||
error.cc | ||
expr.cc | ||
expr_functor.cc | ||
hash.cc | ||
module.cc | ||
pattern_functor.cc | ||
pretty_printer.cc | ||
type.cc | ||
type_functor.cc | ||
type_functor.h |
This PR migrates relay's Op into the ir folder. Op and its registry provides an useful mechanism to store any attribute meta-data of an operator include function signatures, lowering rules, side effect etc. These features are not only useful for Relay, but also needed in the low-level IR. At the current moment, intrinsic functions in the low-level IR are simply represented by a string. This means we cannot type-check the low-level IR when the type does not meet the constraint, nor can we obtain further information such as side-effect and read write relation of these intrinsics wrt to arguments. Op will be used as the way to handle primitive ops(in DL terminology) (builtin intrinsics or in compiler terminology). We will perform follow-up refactors to make low-level CallNode take Op as the function argument.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
adt.cc | Loading commit data... | |
alpha_equal.cc | Loading commit data... | |
base.cc | Loading commit data... | |
doc.cc | Loading commit data... | |
doc.h | Loading commit data... | |
error.cc | Loading commit data... | |
expr.cc | Loading commit data... | |
expr_functor.cc | Loading commit data... | |
hash.cc | Loading commit data... | |
module.cc | Loading commit data... | |
pattern_functor.cc | Loading commit data... | |
pretty_printer.cc | Loading commit data... | |
type.cc | Loading commit data... | |
type_functor.cc | Loading commit data... | |
type_functor.h | Loading commit data... |