This commit is contained in:
vinit 2023-05-26 14:48:02 +02:00
parent a633b88ef2
commit b48ab353a1

View File

@ -413,7 +413,7 @@ by this class. Instances of this class are typically assigned to the
| `align` | Alignment from the `Doc`'s tokenization to the wordpieces. This is a ragged array, where `align.lengths[i]` indicates the number of wordpiece tokens that token `i` aligns against. The actual indices are provided at `align[i].dataXd`. ~~Ragged~~ | | `align` | Alignment from the `Doc`'s tokenization to the wordpieces. This is a ragged array, where `align.lengths[i]` indicates the number of wordpiece tokens that token `i` aligns against. The actual indices are provided at `align[i].dataXd`. ~~Ragged~~ |
| `width` | The width of the last hidden layer. ~~int~~ | | `width` | The width of the last hidden layer. ~~int~~ |
### DocTransformerOutput.empty {id="transformerdata-emoty",tag="classmethod"} ### DocTransformerOutput.empty {id="transformerdata-empty",tag="classmethod"}
Create an empty `DocTransformerOutput` container. Create an empty `DocTransformerOutput` container.