mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-27 23:47:46 +00:00
fix(security): add nosec for torch.load (B614 #736)
This commit is contained in:
@@ -103,7 +103,7 @@ model_cls = PMLP
|
||||
|
||||
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 = PMLP(
|
||||
|
||||
Reference in New Issue
Block a user