class_docstr: A base class that applies compression algorithm to a pytorch tensor
class_docstr_tok: ["A","base","class","that","applies","compression","algorithm","to","a","pytorch","tensor"]
code: def __repr__(self):
      return f"hivemind.{self.__class__.__name__}()"
  
imports: import dataclasses
  import os
  import warnings
  from abc import ABC, abstractmethod
  from enum import Enum, auto
  from typing import Any, Optional
  import numpy
  import torch
  from hivemind.proto import runtime_pb2
  from hivemind.utils.tensor_descr import TensorDescriptor
label_desc: Use image node_id 4 for calling the CompressionBase obj's underlying member method code with example usage: obj.__repr__() and returns: str, self, str