parameters: (self, visitor)
docstring: Constructor.
  
      `visitor` should be a callable suitable as a visitor for `traverse`. It will
      be called only for members of the public TensorFlow API.
  
      Args:
        visitor: A visitor to call for the public API.
docstring_summary: Constructor.
docstring_tokens: Constructor .
function: def __init__(self, visitor):
      """Constructor.
  
      `visitor` should be a callable suitable as a visitor for `traverse`. It will
      be called only for members of the public TensorFlow API.
  
      Args:
        visitor: A visitor to call for the public API.
      """
      self._visitor = visitor
      self._root_name = 'tf'
  
      # Modules/classes we want to suppress entirely.
      self._private_map = {
          # Some implementations have this internal module that we shouldn't
          # expose.
          'tf.flags': ['cpp_flags'],
      }
  
      # Modules/classes we do not want to descend into if we hit them. Usually,
      # system modules exposed through platforms for compatibility reasons.
      # Each entry maps a module path to a name to ignore in traversal.
      self._do_not_descend_map = {
          'tf': [
              'core',
              'examples',
              'flags',  # Don't add flags
              # TODO(drpng): This can be removed once sealed off.
              'platform',
              # TODO(drpng): This can be removed once sealed.
              'pywrap_tensorflow',
              # TODO(drpng): This can be removed once sealed.
              'user_ops',
              'python',
              'tools',
              'tensorboard',
          ],
  
          ## Everything below here is legitimate.
          # It'll stay, but it's not officially part of the API.
          'tf.app': ['flags'],
          # Imported for compatibility between py2/3.
          'tf.test': ['mock'],
      }
function_tokens: def __init__ ( self , visitor ) : self . _visitor = visitor self . _root_name = 'tf' # Modules/classes we want to suppress entirely. self . _private_map = { # Some implementations have this internal module that we shouldn't # expose. 'tf.flags' : [ 'cpp_flags' ] , } # Modules/classes we do not want to descend into if we hit them. Usually, # system modules exposed through platforms for compatibility reasons. # Each entry maps a module path to a name to ignore in traversal. self . _do_not_descend_map = { 'tf' : [ 'core' , 'examples' , 'flags' , # Don't add flags # TODO(drpng): This can be removed once sealed off. 'platform' , # TODO(drpng): This can be removed once sealed. 'pywrap_tensorflow' , # TODO(drpng): This can be removed once sealed. 'user_ops' , 'python' , 'tools' , 'tensorboard' , ] , ## Everything below here is legitimate. # It'll stay, but it's not officially part of the API. 'tf.app' : [ 'flags' ] , # Imported for compatibility between py2/3. 'tf.test' : [ 'mock' ] , }