parameters: (size, batch_size)
return_statement: return [(i * batch_size, min(size, (i + 1) * batch_size))
            for i in range(0, num_batches)]
docstring: Returns a list of batch indices (tuples of indices).
  
    Arguments:
        size: Integer, total size of the data to slice into batches.
        batch_size: Integer, batch size.
  
    Returns:
        A list of tuples of array indices.
docstring_summary: Returns a list of batch indices (tuples of indices).
docstring_tokens: Returns a list of batch indices ( tuples of indices ) .
function: def make_batches(size, batch_size):
    """Returns a list of batch indices (tuples of indices).
  
    Arguments:
        size: Integer, total size of the data to slice into batches.
        batch_size: Integer, batch size.
  
    Returns:
        A list of tuples of array indices.
    """
    num_batches = int(np.ceil(size / float(batch_size)))
    return [(i * batch_size, min(size, (i + 1) * batch_size))
            for i in range(0, num_batches)]
function_tokens: def make_batches ( size , batch_size ) : num_batches = int ( np . ceil ( size / float ( batch_size ) ) ) return [ ( i * batch_size , min ( size , ( i + 1 ) * batch_size ) ) for i in range ( 0 , num_batches ) ]