Clarified spec

This commit is contained in:
Davis King 2015-12-30 20:30:32 -05:00
parent 667b60dbb1
commit 72b250bb16
1 changed files with 3 additions and 2 deletions

View File

@ -400,8 +400,9 @@ namespace dlib
);
/*!
requires
- forward(x) was called to forward propagate x though the network. Moreover,
this was the most recent call to forward().
- forward(x) was called to forward propagate x though the network.
Moreover, this was the most recent call to forward() and x has not been
subsequently modified in any way.
- get_gradient_input() has been set equal to the gradient of this network's
output with respect to some loss function.
- This instance of solvers has only ever been used with this network. That