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