class_docstr: Manage tensors stored in a compressed format.
class_docstr_tok: ["Manage","tensors","stored","in","a","compressed","format","."]
code: def __init__(self, base_device):
      self.name = "compressed"
      self.device_type = DeviceType.COMPRESSED
      self.base_device = base_device
  
      self.data_decompress_workspace = None
      self.workspace_pt = 0
  
imports: import dataclasses
  import torch
  import numpy
  from flexgen.pytorch_backend import TorchTensor, TorchDevice, DeviceType, general_copy, fix_recursive_import
  from flexgen.utils import np_dtype_to_torch_dtype
label_desc: Use image node_id 1 to create a new TorchCompressedDevice object  with example: obj = TorchCompressedDevice(base_device)