import dll as dll

if __name__ == "__main__":
    # MNIST dataset
    mnist = dll.PyMnistReader()
    mnist.display()

    # Network with 2 dense layers: relu -> softmax
    net = dll.PyDenseDenseNet([28 * 28, 16], [16, 10])
    net.display()
    net.set_initial_momentum(0.8)

    net.fine_tune(mnist, 5)
    net.evaluate(mnist)



8b6ee858c23928b2fd7a7524b4bc058ee269b3ad
<mask token>

<mask token>
if __name__ == '__main__':
    mnist = dll.PyMnistReader()
    mnist.display()
    net = dll.PyDenseDenseNet([28 * 28, 16], [16, 10])
    net.display()
    net.set_initial_momentum(0.8)
    net.fine_tune(mnist, 5)
    net.evaluate(mnist)

import dll as dll
if __name__ == '__main__':
    mnist = dll.PyMnistReader()
    mnist.display()
    net = dll.PyDenseDenseNet([28 * 28, 16], [16, 10])
    net.display()
    net.set_initial_momentum(0.8)
    net.fine_tune(mnist, 5)
    net.evaluate(mnist)

import dll as dll

if __name__ == "__main__":
    # MNIST dataset
    mnist = dll.PyMnistReader()
    mnist.display()

    # Network with 2 dense layers: relu -> softmax
    net = dll.PyDenseDenseNet([28 * 28, 16], [16, 10])
    net.display()
    net.set_initial_momentum(0.8)

    net.fine_tune(mnist, 5)
    net.evaluate(mnist)


