code: def get_weights_data(data_reader, layer_name, var_name):
      if not isinstance(var_name, (list, tuple)):
          var_name = [var_name]
  
      data = [
          data_reader.get_weights_data(layer_name, var)
          for var in var_name
      ]
  
      if len(data) == 1:
          return data[0]
      else:
          return (*data,)
  
file_path: hls4ml/hls4ml/converters/pytorch_to_hls.py
imports: import torch
  from hls4ml.model import ModelGraph
label_desc: Use image node_id 1 for calling a global function with example usage: get_weights_data(data_reader, layer_name, var_name) and returns: data, unknown