Thank you for your kindness and patience. I will take your advice.
edit:
just found something alike on github.

  
      github.com/pytorch/pytorch
  
  
    
  
	  
  

  
    
      Integer division behavior is different from Python and NumPy
    

    
      
        opened 
        
          
        
        Feb 26, 2018
      
      


      
        
          
          mdraw
        
      
    
  



  PyTorch version: current master (10fd27)
How you installed PyTorch (conda, pip, source): from source
Python version: 3.6
When dividing two ints in pure Python,...



    medium priority (this tag is deprecated)
    module: cpu
    module: numpy
    topic: numerical-reproducibility
    triaged