code: def generate_default_params():
      """
      Generate default parameters for mnist network.
      """
      params = {"learning_rate": 0.01, "momentum": 0.5}
      return params
  
imports: import os
  import torch
  import torch.distributed
  import torch.nn
  import torch.nn.functional
  import torch.optim
  import nni
  import logging
  from math import ceil
  from random import Random
  from torch.autograd import Variable
  from torchvision import datasets, transforms
label_desc: Use image node_id 5 for calling a global function with example usage: generate_default_params() and returns: params