code: def save_conv(fp, conv_model):
      if conv_model.bias.is_cuda:
          convert2cpu(conv_model.bias.data).numpy().tofile(fp)
          convert2cpu(conv_model.weight.data).numpy().tofile(fp)
      else:
          conv_model.bias.data.numpy().tofile(fp)
          conv_model.weight.data.numpy().tofile(fp)
  
file_path: MMdnn/mmdnn/conversion/darknet/cfg.py
imports: import torch
  from collections import OrderedDict
label_desc: Use image node_id 6 for calling a global function with example usage: save_conv(fp, conv_model) without return types