code: def log_sum_exp(x):
      """numerically stable log_sum_exp implementation that prevents overflow"""
      # TF ordering
      axis = len(x.size()) - 1
      m, _ = torch.max(x, dim=axis)
      m2, _ = torch.max(x, dim=axis, keepdim=True)
      return m + torch.log(torch.sum(torch.exp(x - m2), dim=axis))
  
file_path: TTS/TTS/vocoder/utils/distribution.py
imports: import numpy
  import math
  import torch
  from torch.distributions.normal import Normal
  import torch.nn.functional
label_desc: Use image node_id 3 for calling a global function with example usage: log_sum_exp(x) and returns: unknown