fix(security): add nosec for torch.load (B614 #740)

This commit is contained in:
TPTBusiness
2026-04-29 17:16:45 +02:00
parent 9d3483daab
commit 0ecc8c5213
@@ -126,7 +126,7 @@ class AntiSymmetricConv(torch.nn.Module):
if __name__ == "__main__":
node_features = torch.load("node_features.pt", weights_only=True)
edge_index = torch.load("edge_index.pt", weights_only=True)
edge_index = torch.load("edge_index.pt", weights_only=True) # nosec B614
# Model instantiation and forward pass
model = AntiSymmetricConv(in_channels=node_features.size(-1))