the counter does not help in tracking down the occurrence of the hard enforcement.
the value passed to the counter is usually some iteration index of some lower level function (i.e. gradient descent) which gets called so often that its iteration index is far from unique.
better implementation is needed if it shall be helpful in the debugging process
the counter does not help in tracking down the occurrence of the hard enforcement. the value passed to the counter is usually some iteration index of some lower level function (i.e. gradient descent) which gets called so often that its iteration index is far from unique. better implementation is needed if it shall be helpful in the debugging process