From b86bf2ef88b46fb2abef921d773878db9b649d0f Mon Sep 17 00:00:00 2001 From: Rishabh <59335537+rbSparky@users.noreply.github.com> Date: Thu, 1 Aug 2024 15:32:40 +0530 Subject: [PATCH] Update GNNGraphs/src/transform.jl Co-authored-by: Carlo Lucibello --- GNNGraphs/src/transform.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNNGraphs/src/transform.jl b/GNNGraphs/src/transform.jl index 1e7603897..d7177a0e8 100644 --- a/GNNGraphs/src/transform.jl +++ b/GNNGraphs/src/transform.jl @@ -151,7 +151,7 @@ end """ remove_edges(g::GNNGraph, edges_to_remove::AbstractVector{<:Integer}) - remove_edges(g::GNNGraph, p::Float64=0.5) + remove_edges(g::GNNGraph, p=0.5) Remove specified edges from a GNNGraph, either by specifying edge indices or by randomly removing edges with a given probability.