Skip to content

Commit

Permalink
Addressing the TorchScript warning that occurs when using the RGCNCon…
Browse files Browse the repository at this point in the history
…v class.
  • Loading branch information
drivanov committed Oct 11, 2024
1 parent 5a3573f commit b4e31fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch_geometric/nn/conv/rgcn_conv.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def __init__(
in_channels = (in_channels, in_channels)
self.in_channels_l = in_channels[0]

self._use_segment_matmul_heuristic_output: Optional[bool] = None
self._use_segment_matmul_heuristic_output: Attribute[bool] = None

if num_bases is not None:
self.weight = Parameter(
Expand Down

0 comments on commit b4e31fd

Please sign in to comment.