<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_seed(seed: int):
 """ Set random seed for python, numpy and pytorch RNGs """

    random.seed(seed)
    np.random.seed(seed)
    torch.random.manual_seed(seed)