def METHOD_NAME(self, block_func, input, ch_out, count, name=None):
    out = block_func(input, ch_out=ch_out, name='{}.0'.format(name))
    for j in six.moves.xrange(1, count):
        out = block_func(out, ch_out=ch_out, name='{}.{}'.format(name, j))
    return out