class_docstr: Replace get_attr with placeholder.
  
  The parameters and buffers accessed by the original get_attr are returned;
  they are useful when creating random inputs for the modified graph_module.
class_docstr_tok: ["Replace","get_attr","with","placeholder",".","The","parameters","and","buffers","accessed","by","the","original","get_attr","are","returned",";","they","are","useful","when","creating","random","inputs","for","the","modified","graph_module","."]
docstr: The list of replaced weight tensors.
docstr_tok: ["The","list","of","replaced","weight","tensors","."]
code: def replaced_attrs(self) -> Tuple[torch.Tensor, ...]:
      """The list of replaced weight tensors."""
      assert (
          self._replaced_attrs is not None
      ), "Must run ReplaceGetAttrWithPlaceholder first"
      return self._replaced_attrs
  
file_path: pytorch/torch/onnx/_internal/fx/passes/virtualization.py
imports: from __future__ import annotations
  from typing import List, Optional, Tuple
  import torch
  import torch.fx
  from torch.onnx._internal import _beartype
  from torch.onnx._internal.fx import _pass
label_desc: Use image node_id 1 for calling the ReplaceGetAttrWithPlaceholder obj's underlying member method code with example usage: obj.replaced_attrs() and returns: self