class_docstr: Interface for compressing and decompressing a given tensor.
class_docstr_tok: ["Interface","for","compressing","and","decompressing","a","given","tensor","."]
docstr: Compresses a tensor and returns it with the context needed to decompress it.
docstr_tok: ["Compresses","a","tensor","and","returns","it","with","the","context","needed","to","decompress","it","."]
code: def compress(tensor):
      """Compresses a tensor and returns it with the context needed to decompress it."""
      pass
  
file_path: horovod/horovod/mxnet/compression.py
label_desc: Use image node_id 1 for calling the Compressor obj's underlying member method code with example usage: obj.compress(tensor) without return types