The goal of this assignment is to implement a
multi-layer neural network modelusing PyTorch.
To begin this assignment download
theKamangar_02.zip and unzip it in your
computer.
The neural network model in this assignment is a multi-layer of
neurons with multiple nodes in each layer.
Your code should be using PyTorch and numpy.DO
NOT use any other high-level API, package or
library.
DO NOT alter/change the name of the function or
the parameters of the function.
You may introduce additional functions (helper functions) as
needed. All the helper functions should be put in the same file
with multi_layer_nn_torch() function.
The comments in themulti_layer_nn_torch() function provide
additional information that should help with your
implementation.
The "Assignment_02_tests.py" file includes a very minimal set of
unit tests for themulti_layer_nn_torch() function. The
assignment grade will be based on your code passing these tests
(and other additional tests).
You may modify the "Assignment_02_tests.py" to include more tests. You may also add
additional tests to help you duringdevelopment of your
code.
DO NOT submit the "Assignment_02_tests.py" file when submitting your
Assignment_02
You may run these tests using the command:
py.test --verbose
Assignment_02_tests.py
Submit the output of running the test cases as a separate text file
as part of your submission.
The following is roughly what your output should
look like if all tests pass