Table Of Contents
Table Of Contents

mxnet.gluon.data.RandomSampler

class mxnet.gluon.data.RandomSampler(length)[source]

Samples elements from [0, length) randomly without replacement.

Parameters

length (int) – Length of the sequence.

__init__(length)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(length)

Initialize self.