apache / tvm

Open deep learning compiler stack for cpu, gpu and specialized accelerators
https://tvm.apache.org/
Apache License 2.0
11.67k stars 3.45k forks source link

[Docs] Autogenerate Relay Reference Docs From "Describe" Attributes #10161

Closed AndrewZhaoLuo closed 2 weeks ago

AndrewZhaoLuo commented 2 years ago

Relay has many operators.

In this thread: https://discuss.tvm.apache.org/t/should-relay-nn-operators-be-documented-in-the-language-reference/12001/4

@u99127 points out most operators in relay are not really documented in relay_op.rst.

This issue is meant to track the task of autogenerating the list of relay ops in relay_op.rst. Technically all ops and their attributes can already be found in the op registry which can be programatically retrieved. An example is here:

https://github.com/AndrewZhaoLuo/TVM-Sandbox/blob/main/relay/example_list_all_ops.py

Criteria for completion: relay_op.rst can be autogenerated with all current operators

JOE1994 commented 2 years ago

I'd like to try working on this one if that's okay :cat:

AndrewZhaoLuo commented 2 years ago

It's yours @JOE1994 B)

JOE1994 commented 11 months ago

I truly apologize for being irresponsible while having the ticket assigned to myself. I'll unassign myself from this ticket.