code: def hash_model_parameters(model):
      import hashlib
  
      m = hashlib.md5()
      for param in model.parameters():
          m.update(param.data.cpu().numpy().tobytes())
      return m.hexdigest()
  
imports: from torch.nn import init
  import sys
  import torch
  import torch
  import torchvision
  from torch import nn
  from datetime import datetime
  from fate.ml.nn.model_zoo.agg_layer.fedpass._passport_block import ConvPassportBlock
  from fate.ml.nn.model_zoo.hetero_nn_model import HeteroNNModelGuest, HeteroNNModelHost
  from fate.ml.nn.hetero.hetero_nn import HeteroNNTrainerGuest, HeteroNNTrainerHost, TrainingArguments, FedPassArgument
label_desc: Use image node_id 3 for calling a global function with example usage: hash_model_parameters(model) and returns: m