Im using knn classifier in tensorflow.js from this example. Sometimes it is a little bit slow of adding the new examples when doing transfer learning so I want to create a promi