def cbow_fasttext_batch(centers, contexts, num_tokens, subword_lookup, dtype,<EOL>index_dtype):
_, contexts_row, contexts_col = contexts<EOL>data, row, col = subword_lookup(contexts_row, contexts_col)<EOL>centers = mx.nd.array(centers, dtype=index_dtype)<EOL>contexts = mx.nd.sparse.csr_matrix(<EOL>(data, (row, col)), dtype=dtype,<EOL>shape=(len(centers), num_tokens))  <EOL>return centers, contexts<EOL>
Create a batch for CBOW training objective with subwords.