def test_FullConnection_forward_pass_multi_sample(): fc = FullConnection(4, 1) assert_equal(fc.forward_pass(theta, X), T)
def test_FullConnection_forward_pass_multi_sample(): fc = FullConnection(4, 1) assert_equal(fc.forward_pass(theta, X), T)
def test_FullConnection_forward_pass_single_samples(): fc = FullConnection(4, 1) for x, t in zip(X, T): t = np.atleast_2d(t) assert_equal(fc.forward_pass(theta, x), t)
def test_FullConnection_forward_pass_single_samples(): fc = FullConnection(4, 1) for x, t in zip(X, T): t = np.atleast_2d(t) assert_equal(fc.forward_pass(theta, x), t)