parameters: (self, cls)
return_statement: return cls
docstring: Registers the class 'cls' as module class for writing op_type.
docstring_summary: Registers the class 'cls' as module class for writing op_type.
docstring_tokens: Registers the class cls as module class for writing op_type .
function: def __call__(self, cls):
      """Registers the class 'cls' as module class for writing op_type."""
      if not tf_inspect.isclass(cls):
        raise TypeError("cls must be a class.")
      quantized_cls = quantization.make_quantized(cls)
      _quant_module_registry.register(quantized_cls, self._op_type)
      return cls
function_tokens: def __call__ ( self , cls ) : if not tf_inspect . isclass ( cls ) : raise TypeError ( "cls must be a class." ) quantized_cls = quantization . make_quantized ( cls ) _quant_module_registry . register ( quantized_cls , self . _op_type ) return cls