Avoiding the in-place tanh because of a bug in split layer functionality.