forked from mindspore-Ecosystem/mindspore
Fix api doc error
This commit is contained in:
parent
c4a48ee77b
commit
55efaabe2a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue