Skip to content

Conversation

@t-kalinowski
Copy link
Member

When porting python code to R , the common idiom of importing multiple attributes from a module is cumbersome to translate to R. This makes it more ergonomic.

from jax import grad, vmap, jit

can be

py_import_from("jax", grad, vmap, jit)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants