def test_Selu(tmpdir): model = C.selu([[-1, -0.5, 0, 1, 2]]) verify_no_input(model, tmpdir, 'Selu_0')
def test_Selu(tmpdir, dtype): with C.default_options(dtype = dtype): model = C.selu(np.array([[-1, -0.5, 0, 1, 2]]).astype(dtype)) verify_no_input(model, tmpdir, 'Selu_0')
def test_Selu(tmpdir, dtype): with C.default_options(dtype=dtype): model = C.selu(np.array([[-1, -0.5, 0, 1, 2]]).astype(dtype)) verify_no_input(model, tmpdir, 'Selu_0')
def test_Selu(tmpdir): model = C.selu([[-1, -0.5, 0, 1, 2]]) verify_no_input(model, tmpdir, 'Selu_0')