예제 #1
0
파일: trans.py 프로젝트: ixtel/neurolabcl
 def __call__(self, dist):
     exp = np.exp(dist)
     return exp / exp.sum()
예제 #2
0
파일: trans.py 프로젝트: ixtel/neurolabcl
 def __call__(self, x):
     return 1 / (1 + np.exp(-x))