Solved by anantguptadbl in post #2 
              
              
                @gkrisp9 
The mistake that you have made is with these two lines 
output = output == 1.0
target = target == 1.0

This is translating the data into 
tensor([False, False, False, False, False, False])
tensor([False,  True,  True, False, False, False])

Due to this there is a match on 66% of the data a…