code: def get_padding(kernel_size, dilation=1):
      return int((kernel_size * dilation - dilation) / 2)
  
imports: import math
  import torch
  from torch import nn
  from TTS.tts.layers.glow_tts.glow import WN
  from TTS.tts.layers.glow_tts.transformer import RelativePositionTransformer
  from TTS.tts.utils.helpers import sequence_mask
label_desc: Use image node_id 3 for calling a global function with example usage: get_padding(kernel_size, dilation) and returns: int