Fix api doc error

This commit is contained in:
huangxinjing 2021-11-24 09:24:40 +08:00
parent c4a48ee77b
commit 55efaabe2a
1 changed files with 1 additions and 1 deletions

View File

@ -487,7 +487,7 @@ class VocabEmbedding(Cell):
- **output** (Tensor) - The embedding vector for the input with shape (batch_size,
seq_length, embedding_size).
- **weight** (Tensor) - The embedding table with shape (vocab_size, embedding_size).
- **embedding_table** (Tensor) - The embedding table with shape (vocab_size, embedding_size).
Raises:
ValueError: If the parallel_config.vocab_emb_dp is True, the vocab size is not a multiple of