Hi! I’m not very familiar and good with the subject, but maybe this issue page can help you:

  
      github.com/pytorch/pytorch
  
  
    
  
	  
  

  
    
      the acc of torch.float32 is not good 8
    

    
      
        opened 
        
          
        
        Mar 25, 2019
      
      

        
          closed 
        
          
        
        Mar 25, 2019
      
        

      
        
          
          sun7-she
        
      
    
  



  environment:
python3
pytorch 0.4.1
run the code1:
import torch
import numpy as np
n=4
c=3
h=32
w=32
inputs = torch.FloatTensor(n,c,h,w).fill_(0)
inputs = np.asarray(inputs)
inputs_sum = 0.0
for j in range(c):
 for k in range(h):
...