Skip to content

Commit

Permalink
Provide default value for labels in tensor form
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasZahradnik committed Oct 24, 2024
1 parent 0389866 commit 1dffc33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neuralogic/dataset/tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(
self,
x: Sequence,
edge_index: Sequence,
y: Union[Sequence, float, int],
y: Union[Sequence, float, int] = 0.0,
edge_attr: Optional[Sequence] = None,
y_mask: Optional[Sequence] = None,
):
Expand Down

0 comments on commit 1dffc33

Please sign in to comment.