# torch_geometric.transforms.RandomJitter

class RandomJitter(translate: )[source]

Bases: BaseTransform

Translates node positions by randomly sampled translation values within a given interval (functional name: random_jitter). In contrast to other random transformations, translation is applied separately at each position

Parameters

translate (sequence or float or int) – Maximum translation in each dimension, defining the range $$(-\mathrm{translate}, +\mathrm{translate})$$ to sample from. If translate is a number instead of a sequence, the same range is used for each dimension.