-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] TODO list #2
Comments
Fun finding, it's possible to use import torch
import paddle
def to_trace(x, y):
z = paddle.add(x, y)
z = paddle.nn.functional.relu(z)
return z
tracer = torch.fx.Tracer(
autowrap_modules=(paddle, paddle.nn.functional,)
)
graph = tracer.trace(to_trace)
name = to_trace.__name__
m = torch.fx.GraphModule(tracer.root, graph, name)
print(m.code)
m.graph.print_tabular() |
Some contribution items you can pick
|
认领 fx graph visualisation |
认领bytecode instruction translator coverage : #36 |
认领 improve python code gen in paddlefx. |
认领 implement a |
我在想,paddlefx的项目的阶段性目标,可以设定为:
|
认领 bytecode instruction translator coverage #41 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
symbolic_trace
支持传入callable 和 keyword args: see todo hereThe text was updated successfully, but these errors were encountered: