Skip to content

Commit 449a79a

Browse files
committed
[no ci] Formatting: escaped space only in raw strings
1 parent 6acc628 commit 449a79a

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

bayesflow/approximators/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""
1+
r"""
22
A collection of :py:class:`~bayesflow.approximators.Approximator`\ s, which embody the inference task and the
33
neural network components used to perform it.
44
"""

bayesflow/datasets/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""
1+
r"""
22
A collection of `keras.utils.PyDataset <https://keras.io/api/utils/python_utils/#pydataset-class>`__\ s, which
33
wrap your data-generating process (i.e., your :py:class:`~bayesflow.simulators.Simulator`) and thus determine the
44
effective training strategy (e.g., online or offline).

bayesflow/distributions/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""
1+
r"""
22
A collection of :py:class:`~bayesflow.distributions.Distribution`\ s,
33
which represent the latent space for :py:class:`~bayesflow.networks.InferenceNetwork`\ s
44
or the summary space of :py:class:`~bayesflow.networks.SummaryNetwork`\ s.

bayesflow/metrics/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""
1+
r"""
22
A collection of `keras.Metric <https://keras.io/api/metrics/base_metric/#metric-class>`__\ s for evaluating the
33
performance of models.
44
"""

bayesflow/networks/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""
1+
r"""
22
A rich collection of neural network architectures for use in :py:class:`~bayesflow.approximators.Approximator`\ s.
33
44
The module features inference networks (IN), summary networks (SN), as well as general purpose networks.

bayesflow/scores/scoring_rule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def get_head(self, key: str, output_shape: Shape) -> keras.Sequential:
155155
return keras.Sequential([subnet, dense, reshape, link])
156156

157157
def score(self, estimates: dict[str, Tensor], targets: Tensor, weights: Tensor) -> Tensor:
158-
"""Scores a batch of probabilistic estimates of distributions based on samples
158+
r"""Scores a batch of probabilistic estimates of distributions based on samples
159159
of the corresponding distributions.
160160
161161
Parameters

0 commit comments

Comments
 (0)