harbor run -t openthoughts/tasktrove-exp-rpt-stack-pytest-v2-stack-pytest-0273harbor download openthoughts/tasktrove-exp-rpt-stack-pytest-v2-stack-pytest-0273Task Description:
You are to implement a small neural-network utility package named NN. The tests import and exercise the package as NN.layerversions.layers4 and NN.loss, so your implementation must provide a package at /app/NN/ (with submodules) that matches the following interface and behavior.
What to implement (functional requirements)
Notes and constraints
In short, implement a minimal, differentiable, layer-by-layer neural-network library under /app/NN/ with a FullyConnected layer, a Tanh activation, a simple Network container, an SGD optimiser, a training routine, and a mean-squared-error loss, all wired so that the given tests pass.