INNER CODE UNIT · Python

__init__

tensorflow/docs · tools/tensorflow_docs/api_generator/compat_test/__init__.py:66

  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:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…