Skip to content

Commit 16e4727

Browse files
author
learned_optimization authors
committed
No public description
PiperOrigin-RevId: 619147712
1 parent 4bcaeb0 commit 16e4727

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

docs/notebooks/summary_tutorial.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@
353353
"source": [
354354
"Then we can transform the `loss` function with the function transformation: `summary.with_summary_output_reduced`.\n",
355355
"This transformation goes through the computation and extracts all the tagged values and returns them to us by name in a dictionary.\n",
356-
"In implementation, all the hard work here is done by the wonderful `oryx` library (in particular [harvest](https://github.com/tensorflow/probability/blob/main/spinoffs/oryx/oryx/core/interpreters/harvest.py)).\n",
356+
"In implementation, all the hard work here is done by the wonderful `oryx` library (in particular [harvest](https://github.com/jax-ml/oryx/tree/main/oryx/core/interpreters/harvest.py)).\n",
357357
"When we wrap a function this, we return a tuple containing the original result, and a dictionary with the desired metrics."
358358
]
359359
},

docs/notebooks/summary_tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def loss(parameters):
112112

113113
Then we can transform the `loss` function with the function transformation: `summary.with_summary_output_reduced`.
114114
This transformation goes through the computation and extracts all the tagged values and returns them to us by name in a dictionary.
115-
In implementation, all the hard work here is done by the wonderful `oryx` library (in particular [harvest](https://github.com/tensorflow/probability/blob/main/spinoffs/oryx/oryx/core/interpreters/harvest.py)).
115+
In implementation, all the hard work here is done by the wonderful `oryx` library (in particular [harvest](https://github.com/jax-ml/oryx/tree/main/oryx/core/interpreters/harvest.py)).
116116
When we wrap a function this, we return a tuple containing the original result, and a dictionary with the desired metrics.
117117

118118
```{code-cell}

docs/notebooks/summary_tutorial.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
# kernelspec:
2626
# display_name: Python 3
2727
# name: python3
28+
# pylint: disable=line-too-long
2829
# ---
2930

3031
# + [markdown] id="ryqPvTKI19zH"
@@ -99,7 +100,7 @@ def loss(parameters):
99100
# + [markdown] id="AL9_xgfR4yPS"
100101
# Then we can transform the `loss` function with the function transformation: `summary.with_summary_output_reduced`.
101102
# This transformation goes through the computation and extracts all the tagged values and returns them to us by name in a dictionary.
102-
# In implementation, all the hard work here is done by the wonderful `oryx` library (in particular [harvest](https://github.com/tensorflow/probability/blob/main/spinoffs/oryx/oryx/core/interpreters/harvest.py)).
103+
# In implementation, all the hard work here is done by the wonderful `oryx` library (in particular [harvest](https://github.com/jax-ml/oryx/tree/main/oryx/core/interpreters/harvest.py)).
103104
# When we wrap a function this, we return a tuple containing the original result, and a dictionary with the desired metrics.
104105

105106
# + colab={"base_uri": "https://localhost:8080/"} id="hZQkB6Um8PI5" outputId="984e4f64-7562-48ae-ca68-ff4014037553"

0 commit comments

Comments
 (0)