parameters: (self, next_j: int)
docstring: Generates skip routes for the given destination partition number.
          The skip routes are sorted by source partition number in ascending
          order.
  
          Yields:
              Each tuple of (source partition number, namespace, name).
docstring_summary: Generates skip routes for the given destination partition number.
          The skip routes are sorted by source partition number in ascending
          order.
docstring_tokens: Generates skip routes for the given destination partition number . The skip routes are sorted by source partition number in ascending order .
function: def copy_policy(self, next_j: int) -> Iterable[Tuple[int, Namespace, str]]:
          """Generates skip routes for the given destination partition number.
          The skip routes are sorted by source partition number in ascending
          order.
  
          Yields:
              Each tuple of (source partition number, namespace, name).
  
          """
          for prev_j, ns, name in self.by_partition[next_j]:
              if prev_j == next_j:
                  # This skip tensor will be popped at the same partition where
                  # it is stashed. In this case, copy is not required.
                  continue
  
              yield (prev_j, ns, name)
function_tokens: def copy_policy ( self , next_j : int ) -> Iterable [ Tuple [ int , Namespace , str ] ] : for prev_j , ns , name in self . by_partition [ next_j ] : if prev_j == next_j : # This skip tensor will be popped at the same partition where # it is stashed. In this case, copy is not required. continue yield ( prev_j , ns , name )