aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/integrate
diff options
context:
space:
mode:
authorGravatar Brennan Saeta <saeta@google.com>2017-02-13 15:34:03 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-02-13 17:21:19 -0800
commit69d028435d3b10809f5bf34708e493233485e626 (patch)
treea779f8a0d4d0229d277248bd733595c41f875ee2 /tensorflow/contrib/integrate
parent3aa4b69be09dc47893ffcc6226d014dde759ea64 (diff)
Documentation changes to adhere to new doc generator
Change: 147402290
Diffstat (limited to 'tensorflow/contrib/integrate')
-rw-r--r--tensorflow/contrib/integrate/__init__.py37
1 files changed, 1 insertions, 36 deletions
diff --git a/tensorflow/contrib/integrate/__init__.py b/tensorflow/contrib/integrate/__init__.py
index c951efd3d9..7bcebbaffe 100644
--- a/tensorflow/contrib/integrate/__init__.py
+++ b/tensorflow/contrib/integrate/__init__.py
@@ -13,42 +13,7 @@
# limitations under the License.
# ==============================================================================
-"""Integration and ODE solvers for TensorFlow.
-
-## Example: Lorenz attractor
-
-We can use `odeint` to solve the
-[Lorentz system](https://en.wikipedia.org/wiki/Lorenz_system) of ordinary
-differential equations, a prototypical example of chaotic dynamics:
-
-```python
-rho = 28.0
-sigma = 10.0
-beta = 8.0/3.0
-
-def lorenz_equation(state, t):
- x, y, z = tf.unstack(state)
- dx = sigma * (y - x)
- dy = x * (rho - z) - y
- dz = x * y - beta * z
- return tf.stack([dx, dy, dz])
-
-init_state = tf.constant([0, 2, 20], dtype=tf.float64)
-t = np.linspace(0, 50, num=5000)
-tensor_state, tensor_info = tf.contrib.integrate.odeint(
- lorenz_equation, init_state, t, full_output=True)
-
-sess = tf.Session()
-state, info = sess.run([tensor_state, tensor_info])
-x, y, z = state.T
-plt.plot(x, z)
-```
-
-<div style="width:70%; margin:auto; margin-bottom:10px; margin-top:20px;">
-<img style="width:100%" src="../../images/lorenz_attractor.png" alt>
-</div>
-
-## Ops
+"""Integration and ODE solvers. See the @{$python/contrib.integrate} guide.
@@odeint
"""