class_docstr: Non-Negativity regularizer on Weights
  
  Constraints the weights to have column-wise unit norm
class_docstr_tok: ["Non-Negativity","regularizer","on","Weights","Constraints","the","weights","to","have","column-wise","unit","norm"]
code: def __call__(self, module, input=None, output=None):
      w = module.weight
      value = -1 * self.scale * th.sum(w.gt(0).float().mul(w))
      self.value += value
  
imports: import torch
  from fnmatch import fnmatch
  from .callbacks import Callback
label_desc: Use image node_id 3 for calling the NonNegRegularizer obj's underlying member method code with example usage: obj.__call__(module, input, output) without return types