code: def set_random_seed(seed: int = 0):
      """Sets the random number generator to a fixed seed.
  
      Parameters
      ----------
  
      seed : numeric
          Seed value for random number generator
  
      Note
      ----
      This needs to be set each time before fitting the model.
  
      Example
      -------
      >>> from neuralprophet import set_random_seed
      >>> set_random_seed(seed=42)
      """
      np.random.seed(seed)
      torch.manual_seed(seed)
  
imports: from __future__ import annotations
  import logging
  import math
  import os
  import sys
  from collections import OrderedDict
  from typing import TYPE_CHECKING, Iterable, Optional, Union
  import numpy
  import pandas
  import pytorch_lightning
  import torch
  from neuralprophet import utils_torch
  from neuralprophet.hdays_utils import get_country_holidays
  from neuralprophet.logger import ProgressBar
label_desc: Use image node_id 20 for calling a global function with example usage: set_random_seed(seed) without return types