tools/tensorflow_docs/api_generator/compat_test/__init__.py [28:89]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def a_function(x, y):
  """This is a function.

  @compatibility(TF2)
  test
  @end_compatibility

  @compatibility(numpy)
  test
  @end_compatibility

  It does things.

  Args:
    x: x
    y: y

  Returns:
    None
  """
  del x
  del y
  return None


class AClass:
  """This is a class.

  @compatibility(TF2)
  test
  @end_compatibility

  It does things too.

  Attributes:
   x: x
   y: x
  """

  def __init__(self, x, y):
    self.x = x
    self.y = y

  def a_method(self, x, y):
    """Methods can have compatibility notes too.

    @compatibility(TF2)
    test
    @end_compatibility

    It does things too.

    Args:
      x: x
      y: y

    Returns:
      None
    """
    del x
    del y
    return None
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



tools/tensorflow_docs/api_generator/compat_test/estimator.py [26:87]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def a_function(x, y):
  """This is a function.

  @compatibility(TF2)
  test
  @end_compatibility

  @compatibility(numpy)
  test
  @end_compatibility

  It does things.

  Args:
    x: x
    y: y

  Returns:
    None
  """
  del x
  del y
  return None


class AClass:
  """This is a class.

  @compatibility(TF2)
  test
  @end_compatibility

  It does things too.

  Attributes:
   x: x
   y: x
  """

  def __init__(self, x, y):
    self.x = x
    self.y = y

  def a_method(self, x, y):
    """Methods can have compatibility notes too.

    @compatibility(TF2)
    test
    @end_compatibility

    It does things too.

    Args:
      x: x
      y: y

    Returns:
      None
    """
    del x
    del y
    return None
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



