Fix doc data

This commit is contained in:
FilippoOlivo
2025-03-12 23:39:59 +01:00
parent 0408f2564c
commit b9b25e7b4a
2 changed files with 24 additions and 29 deletions

View File

@@ -75,7 +75,7 @@ class PinaDatasetFactory:
class PinaDataset(Dataset, ABC):
"""
Abstract class for the PINA dataset. It defines the common interface for
the :class:`~pina.data.dataset.PinaTensorDataset` and
:class:`~pina.data.dataset.PinaTensorDataset` and
:class:`~pina.data.dataset.PinaGraphDataset` classes.
"""
@@ -83,9 +83,8 @@ class PinaDataset(Dataset, ABC):
self, conditions_dict, max_conditions_lengths, automatic_batching
):
"""
Initialize a :class:`~pina.data.dataset.PinaDataset` instance by storing
the providedconditions dictionary, the maximum number of conditions to
consider, and the automatic batching flag.
Initialize :class:`~pina.data.dataset.PinaDataset` instance by storing
the provided conditions dictionary, and the automatic batching flag.
:param dict conditions_dict: Dictionary containing the conditions with
data.