About sigmoid from dnn_utils package

You can examine the source code yourself. Just click “File → Open” and then open the file dnn_utils.py. There is a general topic about this on the FAQ Thread.