Fixed bug which occurred in test_convelemwise_tanh