code: def freeze_module(module):
      for param in module.parameters():
          param.requires_grad = False
  
imports: from datetime import datetime
  import matplotlib.pyplot
  import torch
label_desc: Use image node_id 1 for calling a global function with example usage: freeze_module(module) without return types