sgnlp.models.sentic_gcn.utils.set_random_seed

set_random_seed(seed: int = 776)None[source]

Helper method to set random seeds for python, numpy and torch

Parameters

seed (int, optional) – seed value to set. Defaults to 776.