def d_tanh()
in
python/lltm_baseline.py [0:0]
3
lines of code
1
McCabe index (conditional complexity)
def d_tanh(z): t = torch.tanh(z) return 1 - (t * t)