class_docstr: Abstract base class for TensorFlow operator dispatchers.
  
  Each operation dispatcher acts as an override handler for a single
  TensorFlow operation, and its results are used when the handler indicates
  that it can handle the operation's arguments (by returning any value other
  than `OpDispatcher.NOT_SUPPORTED`).
class_docstr_tok: ["Abstract","base","class","for","TensorFlow","operator","dispatchers",".","Each","operation","dispatcher","acts","as","an","override","handler","for","a","single","TensorFlow","operation",",","and","its","results","are","used","when","the","handler","indicates","that","it","can","handle","the","operation","'s","arguments","(","by","returning","any","value","other","than","`","OpDispatcher.NOT_SUPPORTED","`",")","."]
docstr: Register this dispatcher as a handler for `op`.
  
  Args:
    op: Python function: the TensorFlow operation that should be handled. Must
      have a dispatch list (which is added automatically for generated ops,
      and can be added to Python ops using the `add_dispatch_support`
      decorator).
docstr_tok: ["Register","this","dispatcher","as","a","handler","for","`","op","`",".","Args",":","op",":","Python","function",":","the","TensorFlow","operation","that","should","be","handled",".","Must","have","a","dispatch","list","(","which","is","added","automatically","for","generated","ops",",","and","can","be","added","to","Python","ops","using","the","`","add_dispatch_support","`","decorator",")","."]
code: def register(self, op):
      """Register this dispatcher as a handler for `op`.
  
      Args:
        op: Python function: the TensorFlow operation that should be handled. Must
          have a dispatch list (which is added automatically for generated ops,
          and can be added to Python ops using the `add_dispatch_support`
          decorator).
      """
      if not hasattr(op, FALLBACK_DISPATCH_ATTR):
          raise AssertionError("Dispatching not enabled for %s" % op)
      getattr(op, FALLBACK_DISPATCH_ATTR).append(self)
  
imports: import collections
  import itertools
  import typing
  from tensorflow.python.framework import _pywrap_python_api_dispatcher
  from tensorflow.python.framework import ops
  from tensorflow.python.util import tf_decorator
  from tensorflow.python.util import tf_export
  from tensorflow.python.util import tf_inspect
  from tensorflow.python.util import traceback_utils
  from tensorflow.python.util import type_annotations
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 2 for calling the OpDispatcher obj's underlying member method code with example usage: obj.register(op) without return types