dgl.random.seed

dgl.random.seed(val)[source]

Set the seed of randomized methods in DGL.

The randomized methods include various samplers and random walk routines.

Parameters:val (int) – The seed