code: def fill(x):
      return float(x.nonzero().size(0)) / torch.numel(x)
  
file_path: apex/apex/contrib/sparsity/sparse_masklib.py
imports: import sys
  import torch
  import numpy
  import collections
  from itertools import permutations
label_desc: Use image node_id 1 for calling a global function with example usage: fill(x) and returns: unknown