def _last_iterable(iterable):
    i = iter(iterable)
    v = i.next()
    for nextv in i:
        yield False, v
        v = nextv
    yield True, v
Mean squared error function.
dataset/ETHPy150Open hvr/trac-git-plugin/tracext/git/git_fs.py/_last_iterable--crossover with--dataset/ETHPy150Open pfnet/chainer/chainer/functions/loss/mean_squared_error.py/mean_squared_error