Skip to content
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

better doc python interface differences vs cpp, or create more examples #466

Open
cyrush opened this issue Nov 5, 2019 · 1 comment
Open
Labels
Milestone

Comments

@cyrush
Copy link
Member

cyrush commented Nov 5, 2019

A few cases:

Arg order in relay funcs isn't same as C++, tell folks to prefer named args in python

relay.io.load(node=n,path=p)

leave array vs leaf node acces:

n.fetch("child") vs n["child"] when child is a leaf

@cyrush cyrush added the docs label Nov 5, 2019
@cyrush cyrush added this to the 0.6.0 milestone Dec 28, 2019
@cyrush
Copy link
Member Author

cyrush commented Oct 15, 2020

Some of this now exists:
https://llnl-conduit.readthedocs.io/en/latest/tutorial_python_basics.html#differences-between-c-and-python-apis

Sufficient for 0.6.0.

But, we don't have docs for relay funcs that cover this, so I am not closing, instead moving to future release.

@cyrush cyrush modified the milestones: 0.6.0, 0.7.0 Oct 15, 2020
@cyrush cyrush modified the milestones: 0.7.0, 0.8.0 Jan 29, 2021
@cyrush cyrush modified the milestones: 0.8.0, 0.9.0 Nov 1, 2021
@cyrush cyrush modified the milestones: 0.9.0, 0.9.1 Jan 30, 2024
@cyrush cyrush modified the milestones: 0.9.2, 0.9.3 May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant