def test_arg_of_sigmoid_good():
 X = T.matrix()
 Y = T.nnet.sigmoid(X)
 Z = arg_of_sigmoid(Y)
 assert (X is Z)

def test_arg_of_sigmoid_good ( ) : X = T . matrix ( ) Y = T . nnet . sigmoid ( X ) Z = arg_of_sigmoid ( Y ) assert ( X is Z )
tests that arg_of_sigmoid works when given a good input .