code: def compute_Softmax_madd(module, inp, out):
      assert isinstance(module, nn.Softmax)
      assert len(inp.size()) > 1
  
      count = 1
      for s in inp.size()[1:]:
          count *= s
      exp = count
      add = count - 1
      div = count
      return exp + add + div
  
file_path: tensorwatch/tensorwatch/model_graph/torchstat/compute_madd.py
imports: import torch.nn
label_desc: Use image node_id 7 for calling a global function with example usage: compute_Softmax_madd(module, inp, out) and returns: unknown