After further digging it looks like the the actual value that gets passed to the input layer is the inverse sigmoid, but this value is not contained in grad_in.  I was under the Impression when you register backward hook for a module grad_in is the final grad?  This seems to imply grad_in is just an intermediary grad and not the final one?