HF optimizer expects hidden units in the ]0,1[ range, not the ]-1,1[ that tanh activation provides