Skip to content

Commit a0fb6b1

Browse files
committed
🧑‍🔧 fix a typo
1 parent 830c34b commit a0fb6b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/examples/burgers_DeepONet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ ytest = vars["u"][end-99:end, 1:subsample:end] |> device;
5353

5454
One particular thing to note here is that we need to permute the array containing the initial condition so that the inner product of DeepONet works. This is because we need to do the following contraction:
5555

56-
$\sum\limits_i t_{ji} b{ik} = u_{jk}$
56+
$\sum\limits_i t_{ji} b_{ik} = u_{jk}$
5757

5858
For now, we only have one input and one output array. In addition, we need another input array that provides the probing locations for the operator $u_1(x) = \mathcal{G}(u_0)(x)$. In theory, we could choose those arbitrarily. For sake of simplicity though, we simply create the same equispaced grid that the original data was sampled from, i.e. a 1-D grid of 1024 equispaced points in [0;1]. Again, we need to transpose the array so that the array dim that is transformed by the trunk network is in the first column - otherwise the inner product would be much more cumbersome to handle.
5959

0 commit comments

Comments
 (0)