Skip to content

Commit c48754a

Browse files
committed
Update documentation to replace 'epochs' with 'iterations' in training examples.
1 parent 18f0f0b commit c48754a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/demos/pinn_forward/elasticity.plate.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ We then train the model for 5000 iterations:
257257

258258
.. code-block:: python
259259
260-
losshistory, train_state = model.train(epochs=5000)
260+
losshistory, train_state = model.train(iterations=5000)
261261
262262
Complete code
263263
--------------

docs/demos/pinn_forward/helmholtz.2d.neumann.hole.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ First, the DeepXDE, Numpy and Matplotlib modules are imported:
5454
import matplotlib.pyplot as plt
5555
import numpy as np
5656
57-
We begin by defining the general parameters for the problem. We use a collocation points density of 15 (resp. 30) points per wavelength for the training (resp. testing) data along each direction. The PINN will be trained over 5000 epochs. We define the learning rate, the number of dense layers and nodes, and the activation function.
57+
We begin by defining the general parameters for the problem. We use a collocation points density of 15 (resp. 30) points per wavelength for the training (resp. testing) data along each direction. The PINN will be trained over 5000 iterations. We define the learning rate, the number of dense layers and nodes, and the activation function.
5858

5959
.. code-block:: python
6060

0 commit comments

Comments
 (0)