import functools import threading import time from collections import OrderedDict
import numpy as np embeddings = np.array([ [0.9, 0.1, 0.2], [0.1, 0.8, 0.3], [0.7, 0.2, 0.4],