Skip to content

Commit

Permalink
Update src/GNNGraphs/transform.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Carlo Lucibello <[email protected]>
  • Loading branch information
rbSparky and CarloLucibello authored Jul 4, 2024
1 parent bc3d018 commit cf21abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GNNGraphs/transform.jl
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ The function returns a new `GNNGraph` instance that shares some of the underlyin
# Parameters
- `g::GNNGraph`: The graph to be perturbed.
- `perturb_ratio::Float64`: The ratio of the number of new edges to add relative to the current number of edges in the graph. For example, a `perturb_ratio` of 0.1 means that 10% of the current number of edges will be added as new random edges.
- `perturb_ratio`: The ratio of the number of new edges to add relative to the current number of edges in the graph. For example, a `perturb_ratio` of 0.1 means that 10% of the current number of edges will be added as new random edges.
- `seed=123`: An optional seed for the random number generator to ensure reproducible results.
# Examples
Expand Down

0 comments on commit cf21abc

Please sign in to comment.