File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -342,7 +342,7 @@ class DisjointLoss(ImplicationLoss):
342342 def __init__ (
343343 self ,
344344 path_to_disjointness : str ,
345- data_extractor : Union [_ChEBIDataExtractor , LabeledUnlabeledMixed ],
345+ data_extractor : Union [_ChEBIDataExtractor , " LabeledUnlabeledMixed" ],
346346 base_loss : torch .nn .Module = None ,
347347 disjoint_loss_weight : float = 100 ,
348348 ** kwargs ,
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ class XYMolData(XYData):
121121 kwargs: Additional fields to store in the dataset.
122122 """
123123
124- def to_x (self , device : torch .device ) -> Tuple [nx .Graph , ...]:
124+ def to_x (self , device : torch .device ) -> Tuple [" nx.Graph" , ...]:
125125 """
126126 Moves the node attributes of the molecular graphs to the specified device.
127127
You can’t perform that action at this time.
0 commit comments