def empty_like(array):
    warnings.warn(
        'chainer.cuda.empty_like is deprecated. Use cupy.empty_like instead.',
        DeprecationWarning)
    check_cuda_available()
    if isinstance(array, cupy.ndarray):
        return cupy.empty_like(array)
    return cupy.empty(array.shape, dtype=array.dtype)
Creates an uninitialized GPU array like the given one.
dataset/ETHPy150Open pfnet/chainer/chainer/cuda.py/empty_like