def _create_float_test_ufunc(name, doc):
    return core.create_ufunc(
        'cupy_' + name, ('e->?', 'f->?', 'd->?'), 'out0 = %s(in0)' % name,
        doc=doc)
dataset/ETHPy150Open pfnet/chainer/cupy/logic/content.py/_create_float_test_ufunc/original