parameters: ()
return_statement: return v2_names
docstring: Get a set of function/class names available in TensorFlow 2.0.
docstring_summary: Get a set of function/class names available in TensorFlow 2.0.
docstring_tokens: Get a set of function / class names available in TensorFlow 2 . 0 .
function: def get_all_v2_names():
    """Get a set of function/class names available in TensorFlow 2.0."""
    v2_names = set()  # All op names in TensorFlow 2.0
  
    def visit(unused_path, unused_parent, children):
      """Visitor that collects TF 2.0 names."""
      for child in children:
        _, attr = tf_decorator.unwrap(child[1])
        api_names_v2 = tf_export.get_v2_names(attr)
        for name in api_names_v2:
          v2_names.add(name)
  
    visitor = public_api.PublicAPIVisitor(visit)
    visitor.do_not_descend_map['tf'].append('contrib')
    visitor.do_not_descend_map['tf.compat'] = ['v1']
    traverse.traverse(tf.compat.v2, visitor)
    return v2_names
function_tokens: def get_all_v2_names ( ) : v2_names = set ( ) # All op names in TensorFlow 2.0 def visit ( unused_path , unused_parent , children ) : """Visitor that collects TF 2.0 names.""" for child in children : _ , attr = tf_decorator . unwrap ( child [ 1 ] ) api_names_v2 = tf_export . get_v2_names ( attr ) for name in api_names_v2 : v2_names . add ( name ) visitor = public_api . PublicAPIVisitor ( visit ) visitor . do_not_descend_map [ 'tf' ] . append ( 'contrib' ) visitor . do_not_descend_map [ 'tf.compat' ] = [ 'v1' ] traverse . traverse ( tf . compat . v2 , visitor ) return v2_names