Update test_core.py

Make PEP8
This commit is contained in:
Michael Oliver
2017-02-22 16:33:35 -08:00
committed by GitHub
parent 8141f9ee22
commit 2b0092da2e
+1 -1
View File
@@ -55,7 +55,7 @@ def test_cosinedense():
model.add(core.CosineDense(1, bias=False, input_shape=(20,)))
model.compile(loss='mse', optimizer='rmsprop')
W = model.get_weights()
W[0] = -2*X.T
W[0] = -2 * X.T
model.set_weights(W)
out = model.predict(X)
assert_allclose(out, -np.ones((1, 1), dtype=K.floatx()), atol=1e-5)