Submitted by mostlyhydrogen t3_10rvkru in MachineLearning
RingoCatKeeper t1_j79vmlw wrote
Reply to comment by mostlyhydrogen in [D] Querying with multiple vectors during embedding nearest neighbor search? by mostlyhydrogen
See the section "ScaNN interface features", you will find that you could search queries with batch, may this similar with your problem?
mostlyhydrogen OP t1_j7fxwyx wrote
>ScaNN interface features
Nope. Notice that the results have shape (10000, 20) instead of (20,). That is just doing a batched query i.e. "for each of these 10k input vectors, find me 20 neighbors". What I need is a joint query, i.e. "given these 10k positive examples, give me an additional 20 candidate samples".
RingoCatKeeper t1_j7hklu4 wrote
Sorry I miss understood. You're right.
Viewing a single comment thread. View all comments