WordPieceTokenizer.Decode メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| Decode(IEnumerable<Int32>, Span<Char>, Int32, Int32) |
指定された ID をテキストにデコードし、結果を |
| Decode(IEnumerable<Int32>, Span<Char>, Boolean, Int32, Int32) |
指定された ID をテキストにデコードし、結果を |
| Decode(IEnumerable<Int32>) |
指定した ID を文字列にデコードします。 |
| Decode(IEnumerable<Int32>, Boolean) |
指定した ID を文字列にデコードします。 |
Decode(IEnumerable<Int32>, Span<Char>, Int32, Int32)
指定された ID をテキストにデコードし、結果を destination スパンに格納します。
public override System.Buffers.OperationStatus Decode(System.Collections.Generic.IEnumerable<int> ids, Span<char> destination, out int idsConsumed, out int charsWritten);
override this.Decode : seq<int> * Span<char> * int * int -> System.Buffers.OperationStatus
Public Overrides Function Decode (ids As IEnumerable(Of Integer), destination As Span(Of Char), ByRef idsConsumed As Integer, ByRef charsWritten As Integer) As OperationStatus
パラメーター
- ids
- IEnumerable<Int32>
デコードする ID の一覧。
- idsConsumed
- Int32
デコード中に使用された ID の数。
- charsWritten
- Int32
宛先スパンに書き込まれた文字数。
返品
操作の状態は、すべての ID が正常にデコードされたか、 destination が小さすぎてデコードされた結果全体を含めなかったかを示します。
適用対象
Decode(IEnumerable<Int32>, Span<Char>, Boolean, Int32, Int32)
指定された ID をテキストにデコードし、結果を destination スパンに格納します。
public System.Buffers.OperationStatus Decode(System.Collections.Generic.IEnumerable<int> ids, Span<char> destination, bool skipSpecialTokens, out int idsConsumed, out int charsWritten);
override this.Decode : seq<int> * Span<char> * bool * int * int -> System.Buffers.OperationStatus
Public Function Decode (ids As IEnumerable(Of Integer), destination As Span(Of Char), skipSpecialTokens As Boolean, ByRef idsConsumed As Integer, ByRef charsWritten As Integer) As OperationStatus
パラメーター
- ids
- IEnumerable<Int32>
デコードする ID の一覧。
- skipSpecialTokens
- Boolean
デコード中に特別なトークンをスキップするかどうかを示します。
- idsConsumed
- Int32
デコード中に使用された ID の数。
- charsWritten
- Int32
宛先スパンに書き込まれた文字数。
返品
操作の状態は、すべての ID が正常にデコードされたか、 destination が小さすぎてデコードされた結果全体を含めなかったかを示します。
適用対象
Decode(IEnumerable<Int32>)
指定した ID を文字列にデコードします。
public override string Decode(System.Collections.Generic.IEnumerable<int> ids);
override this.Decode : seq<int> -> string
Public Overrides Function Decode (ids As IEnumerable(Of Integer)) As String
パラメーター
- ids
- IEnumerable<Int32>
デコードする ID の一覧。
返品
デコードされた文字列。
適用対象
Decode(IEnumerable<Int32>, Boolean)
指定した ID を文字列にデコードします。
public string Decode(System.Collections.Generic.IEnumerable<int> ids, bool skipSpecialTokens);
override this.Decode : seq<int> * bool -> string
Public Function Decode (ids As IEnumerable(Of Integer), skipSpecialTokens As Boolean) As String
パラメーター
- ids
- IEnumerable<Int32>
デコードする ID の一覧。
- skipSpecialTokens
- Boolean
デコード中に特別なトークンをスキップするかどうかを示します。
返品
デコードされた文字列。