[Relay][Op]Support symbolic TopK, Ones, Zeros and Full (#5459)
* Support symbolic TopK, Ones, Zeros and Full
* Fix pylint
* Add docstring for topk shape func
* Fix grad
* Fix lazy_gradient_init
* Fix parser
* Fix print ir text
* Fix lint
* Improve pattern_util
* Fix topk
* Fix build
* Use Optional for attribute
* Fix clang-format
* Minot fix
* Fix pylint
* Fix build warning
* Fix parser
* Move ToScalar
* Fix lint
* Fix lint
* Make topk shape func as data independent when k is constant.
* Fix lint
* Minor fix
22 files changed: