Thanks for your reply.
According to your advice, I find tensorboardX can do it:

  
      github.com/lanpa/tensorboardX
  
  
    



Issue: How to visualize gradient with tensorboardX in pytorch 1.0k


	
	opened by HyoungWooPark
	on 2018-08-15
	
	
	closed by lanpa
	on 2018-08-20
	


I wonder how to visualize gradient by histogram with tensorboardX in pytorch




  
  
    
    
  
  


I’ll try it. Thank you again.