Solved by KFrank in post #2 
              
              
                Hi Danish! 

Note that taking what you’ve written literally this can only be true if half 
of your data is -1 and half is 1.  You probably mean something a little 
different. 

mapped_data = (data + 1) / 2


If you are feeding your data to an already-trained network that was 
trained with data in th…