MCPcopy Create free account
hub / github.com/DeepGraphLearning/FewShotRE / next_batch

Method next_batch

fewshot_re_kit/old_data_loader.py:10–18  ·  view source on GitHub ↗

B: batch size. N: the number of relations for each batch K: the number of support instances for each relation Q: the number of query instances for each relation return: support_set, query_set, query_label

(self, B, N, K, Q)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected