megengine.functional.nn.sigmoid#

sigmoid(x)[源代码]#

逐元素计算 1 / ( 1 + exp( -x ) ) 的值,并返回。