code: def fft1(x):
      L = len(x)
      phase = -2j * np.pi * (np.arange(L) / float(L))
      phase = np.arange(L).reshape(-1, 1) * phase
      return np.sum(x * np.exp(phase), axis=1)
  
imports: import queue
  import threading
  import multiprocessing
  import numpy
  import pytest
  from numpy.random import random
  from numpy.testing import assert_array_almost_equal, assert_array_equal, assert_allclose
  from pytest import raises
  import scipy.fft
label_desc: Use image node_id 1 for calling a global function with example usage: fft1(x) and returns: np