def test_fc():
    l1 = layer.FullyConnected(5, 10)
    x = np.ones((100, 5))
    (y, c) = l1.forward(x)
    assert (y.shape == (100, 10))
    assert np.all((c == x))
def test_fc():
    l1 = layer.FullyConnected(5, 10)
    x = np.ones((100, 5))
    (y, c) = l1.forward(x)
    assert (y.shape == (100, 10))
    assert np.all((c == x))