class_docstr: PyTorch reader to extract weights data.
class_docstr_tok: ["PyTorch","reader","to","extract","weights","data","."]
code: def get_weights_data(self, layer_name, var_name):
      data = None
  
      tensorName = layer_name + "." + var_name
  
      if tensorName in self.state_dict:
          data = self.state_dict[tensorName].numpy()
  
      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 2 for calling the PyTorchModelReader obj's underlying member method code with example usage: obj.get_weights_data(layer_name, var_name) and returns: data