class_docstr: A extended version of PyTorch's RecordingObserver, used to record gpu tensor
class_docstr_tok: ["A","extended","version","of","PyTorch","'s","RecordingObserver",",","used","to","record","gpu","tensor"]
code: def forward(self, x):
      val = x.cpu()
      super().forward(val)
      return x
  
imports: from torch.quantization import default_weight_observer, default_histogram_observer
  from torch.quantization import RecordingObserver
label_desc: Use image node_id 1 for calling the RecordingObserver obj's underlying member method code with example usage: obj.forward(x) and returns: x