mindspore.dataset.SamplingStrategy

class mindspore.dataset.SamplingStrategy[source]

Specifies the sampling strategy when execute get_sampled_neighbors .

  • RANDOM: Random sampling with replacement.

  • EDGE_WEIGHT: Sampling with edge weight as probability.