If someone’s landed up here for this, you can check out below answer on stackoverflow

  
      stackoverflow.com
  
  
      
    
  

  In Pytorch, how to add L1 regularizer to activations? 482



  python, pytorch



  asked by
  
  
    Bull
  
  on 12:39AM - 20 Jun 17 UTC