class_docstr: Wraps CollectiveOps.All_Reduce with compression and decompression for network efficiency.
  
  This means that it only wraps gradient transmission for AllReduce
  synchronized variables, not PS ops or other ops like network reads.
class_docstr_tok: ["Wraps","CollectiveOps.All_Reduce","with","compression","and","decompression","for","network","efficiency",".","This","means","that","it","only","wraps","gradient","transmission","for","AllReduce","synchronized","variables",",","not","PS","ops","or","other","ops","like","network","reads","."]
code: def __init__(self, var_op_name):
      self.var_op_name = var_op_name
  
imports: from abc import ABC, abstractmethod
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework.ops import Tensor
  from tensorflow.python.ops import collective_ops, math_ops
label_desc: Use image node_id 1 to create a new Compressor object from inherited base classes: ABC with example: obj = Compressor(var_op_name)