Skip to content

Commit

Permalink
doc: fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mariogeiger committed Jun 23, 2023
1 parent c6fa5e7 commit 6326cd9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion e3nn_jax/_src/linear_flax.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Linear(flax.linen.Module):
0/1 corresponds to a normalization where each element/path has an equal contribution to the learning.
num_indexed_weights (optional int): number of indexed weights. See example below.
weights_per_channel (bool): whether to have one set of weights per channel.
force_irreps_out (bool): whether to force the output irreps to be the one specified in `irreps_out`.
force_irreps_out (bool): whether to force the output irreps to be the one specified in ``irreps_out``.
Examples:
Vanilla::
Expand Down
2 changes: 1 addition & 1 deletion e3nn_jax/_src/linear_haiku.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Linear(hk.Module):
get_parameter (optional Callable): function to get the parameters.
num_indexed_weights (optional int): number of indexed weights. See example below.
weights_per_channel (bool): whether to have one set of weights per channel.
force_irreps_out (bool): whether to force the output irreps to be the one specified in `irreps_out`.
force_irreps_out (bool): whether to force the output irreps to be the one specified in ``irreps_out``.
name (optional str): name of the module.
Examples:
Expand Down
2 changes: 1 addition & 1 deletion e3nn_jax/_src/utils/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def assert_(x, y):


def assert_output_dtype_matches_input_dtype(fun: Callable, *args, **kwargs):
"""Checks that the dtype of fun(*args, **kwargs) matches that of the input (*args, **kwargs).
"""Checks that the dtype of ``fun(*args, **kwargs)`` matches that of the input ``(*args, **kwargs)``.
Args:
fun: function to test
Expand Down

0 comments on commit 6326cd9

Please sign in to comment.