Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[harvest] Document or fix that sow/reap doesn't work with keyword arguments #86

@neverix

Description

@neverix

Reproducing example:

from oryx.core.interpreters.harvest import sow, reap
import jax


@jax.jit
def f(x):
    sow(x, tag="d", name="x")

@jax.jit
def g(x):
    return reap(f, tag="d")(x=x)

g(5)  # {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions