Skip to content

Commit 6326cd9

Browse files
committed
doc: fix warnings
1 parent c6fa5e7 commit 6326cd9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

e3nn_jax/_src/linear_flax.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Linear(flax.linen.Module):
3131
0/1 corresponds to a normalization where each element/path has an equal contribution to the learning.
3232
num_indexed_weights (optional int): number of indexed weights. See example below.
3333
weights_per_channel (bool): whether to have one set of weights per channel.
34-
force_irreps_out (bool): whether to force the output irreps to be the one specified in `irreps_out`.
34+
force_irreps_out (bool): whether to force the output irreps to be the one specified in ``irreps_out``.
3535
3636
Examples:
3737
Vanilla::

e3nn_jax/_src/linear_haiku.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Linear(hk.Module):
3232
get_parameter (optional Callable): function to get the parameters.
3333
num_indexed_weights (optional int): number of indexed weights. See example below.
3434
weights_per_channel (bool): whether to have one set of weights per channel.
35-
force_irreps_out (bool): whether to force the output irreps to be the one specified in `irreps_out`.
35+
force_irreps_out (bool): whether to force the output irreps to be the one specified in ``irreps_out``.
3636
name (optional str): name of the module.
3737
3838
Examples:

e3nn_jax/_src/utils/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def assert_(x, y):
9393

9494

9595
def assert_output_dtype_matches_input_dtype(fun: Callable, *args, **kwargs):
96-
"""Checks that the dtype of fun(*args, **kwargs) matches that of the input (*args, **kwargs).
96+
"""Checks that the dtype of ``fun(*args, **kwargs)`` matches that of the input ``(*args, **kwargs)``.
9797
9898
Args:
9999
fun: function to test

0 commit comments

Comments
 (0)