@@ -52,7 +52,7 @@ def __new__(cls, input, target):
5252 GraphInputTensorTargetCondition |
5353 pina.condition.input_target_condition.GraphInputGraphTargetCondition
5454
55- :raises ValueError: If `input` and/or `target` are not of type
55+ :raises ValueError: If `` input`` and/or `` target` ` are not of type
5656 :class:`torch.Tensor`, :class:`~pina.label_tensor.LabelTensor`,
5757 :class:`~pina.graph.Graph`, or :class:`~torch_geometric.data.Data`.
5858 """
@@ -94,7 +94,7 @@ def __new__(cls, input, target):
9494
9595 def __init__ (self , input , target ):
9696 """
97- Initialize the object by storing the `input` and `target` data.
97+ Initialize the object by storing the `` input`` and `` target` ` data.
9898
9999 :param input: Input data for the condition.
100100 :type input: torch.Tensor | LabelTensor | Graph | Data | list[Graph] |
@@ -104,7 +104,7 @@ def __init__(self, input, target):
104104 list[Data] | tuple[Graph] | tuple[Data]
105105
106106 .. note::
107- If either `input` or `target` are composed by a list of
107+ If either `` input`` or `` target` ` are composed by a list of
108108 :class:`~pina.graph.Graph` or :class:`~torch_geometric.data.Data`
109109 objects, all elements must have the same structure (keys and data
110110 types)
@@ -130,14 +130,14 @@ def _check_input_target_len(input, target):
130130class TensorInputTensorTargetCondition (InputTargetCondition ):
131131 """
132132 InputTargetCondition subclass for :class:`torch.Tensor` or
133- :class:`~pina.label_tensor.LabelTensor` `input` and `target` data.
133+ :class:`~pina.label_tensor.LabelTensor` `` input`` and `` target` ` data.
134134 """
135135
136136
137137class TensorInputGraphTargetCondition (InputTargetCondition ):
138138 """
139139 InputTargetCondition subclass for :class:`torch.Tensor` or
140- :class:`~pina.label_tensor.LabelTensor` `input` and
140+ :class:`~pina.label_tensor.LabelTensor` `` input` ` and
141141 :class:`~pina.graph.Graph` or :class:`~torch_geometric.data.Data` `target`
142142 data.
143143 """
@@ -146,13 +146,13 @@ class TensorInputGraphTargetCondition(InputTargetCondition):
146146class GraphInputTensorTargetCondition (InputTargetCondition ):
147147 """
148148 InputTargetCondition subclass for :class:`~pina.graph.Graph` o
149- :class:`~torch_geometric.data.Data` `input` and :class:`torch.Tensor` or
150- :class:`~pina.label_tensor.LabelTensor` `target` data.
149+ :class:`~torch_geometric.data.Data` `` input` ` and :class:`torch.Tensor` or
150+ :class:`~pina.label_tensor.LabelTensor` `` target` ` data.
151151 """
152152
153153
154154class GraphInputGraphTargetCondition (InputTargetCondition ):
155155 """
156156 InputTargetCondition subclass for :class:`~pina.graph.Graph`/
157- :class:`~torch_geometric.data.Data` `input` and `target` data.
157+ :class:`~torch_geometric.data.Data` `` input`` and `` target` ` data.
158158 """
0 commit comments