code: def __getstate__(self):
      return self.__dict__
  
imports: import collections
  import torch
  from torch import Tensor
label_desc: Use image node_id 3 for calling the TensorWrapper obj's underlying member method code with example usage: obj.__getstate__() and returns: self