code: def poly1d(coefficients, use_numpy=False):
      if use_numpy:
          return np.poly1d(coefficients)
      coefficients = tuple(reversed(coefficients))
  
      def func(p):
          return sum(
              coef * p**i for i, coef in enumerate(coefficients)
          )
  
      return func
  
file_path: espnet/espnet2/enh/layers/dnsmos.py
imports: import json
  import math
  import librosa
  import numpy
  import requests
  import torch
  import torchaudio
label_desc: Use image node_id 1 for calling a global function with example usage: poly1d(coefficients, use_numpy) and returns: func, np, sum