tensorflow / tensorflow/probability

[oryx] Reap and get original value

Open
#1,248 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
4.4k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

The documentation for oryx.core.reap says:

Transforms a function to return the original output and intermediate collected values.

However, the example code here shows that reap returns a function which only gives the intermediate values.

Is one of the two in error or have I misunderstood? If reap is intended to only return the intermediate values, what is the best way to get both the intermediate and final values?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the oryx.core.reap documentation with the example in the linked TensorFlow Probability notebook. Determine whether the documented return value or the example is authoritative, then make the documentation and example consistent and explain how to obtain both intermediate and final values.

Written by the indexing model from the issue text.

Assessment

Tech stack
tensorflow
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.