BpeTokenizer.Decode Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
| Nazwa | Opis |
|---|---|
| Decode(IEnumerable<Int32>, Span<Char>, Int32, Int32) |
Zdekoduj podane identyfikatory z powrotem do tekstu i zapisz wynik w |
| Decode(IEnumerable<Int32>, Span<Char>, Boolean, Int32, Int32) |
Zdekoduj podane identyfikatory z powrotem do tekstu i zapisz wynik w |
| Decode(IEnumerable<Int32>) |
Zdekoduj podane identyfikatory z powrotem do ciągu. |
| Decode(IEnumerable<Int32>, Boolean) |
Zdekoduj podane identyfikatory z powrotem do ciągu. |
Decode(IEnumerable<Int32>, Span<Char>, Int32, Int32)
- Źródło:
- BPETokenizer.cs
- Źródło:
- BPETokenizer.cs
- Źródło:
- BPETokenizer.cs
Zdekoduj podane identyfikatory z powrotem do tekstu i zapisz wynik w destination zakresie.
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
Parametry
- ids
- IEnumerable<Int32>
Lista identyfikatorów, które chcemy dekodować.
- idsConsumed
- Int32
Liczba identyfikatorów użytych podczas dekodowania.
- charsWritten
- Int32
Liczba znaków zapisanych w zakresie docelowym.
Zwraca
Stan operacji wskazuje, czy wszystkie identyfikatory zostały pomyślnie zdekodowane, czy też destination jest za mały, aby zawierać cały dekodowany wynik.
Dotyczy
Decode(IEnumerable<Int32>, Span<Char>, Boolean, Int32, Int32)
- Źródło:
- BPETokenizer.cs
- Źródło:
- BPETokenizer.cs
- Źródło:
- BPETokenizer.cs
Zdekoduj podane identyfikatory z powrotem do tekstu i zapisz wynik w destination zakresie.
public System.Buffers.OperationStatus Decode(System.Collections.Generic.IEnumerable<int> ids, Span<char> destination, bool considerSpecialTokens, 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), considerSpecialTokens As Boolean, ByRef idsConsumed As Integer, ByRef charsWritten As Integer) As OperationStatus
Parametry
- ids
- IEnumerable<Int32>
Lista identyfikatorów, które chcemy dekodować.
- considerSpecialTokens
- Boolean
Określ, czy należy wziąć pod uwagę specjalne tokeny, czy nie.
- idsConsumed
- Int32
Liczba identyfikatorów użytych podczas dekodowania.
- charsWritten
- Int32
Liczba znaków zapisanych w zakresie docelowym.
Zwraca
Stan operacji wskazuje, czy wszystkie identyfikatory zostały pomyślnie zdekodowane, czy też destination jest za mały, aby zawierać cały dekodowany wynik.
Dotyczy
Decode(IEnumerable<Int32>)
- Źródło:
- BPETokenizer.cs
- Źródło:
- BPETokenizer.cs
- Źródło:
- BPETokenizer.cs
Zdekoduj podane identyfikatory z powrotem do ciągu.
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
Parametry
- ids
- IEnumerable<Int32>
Lista identyfikatorów, które chcemy dekodować.
Zwraca
Zdekodowany ciąg.
Dotyczy
Decode(IEnumerable<Int32>, Boolean)
- Źródło:
- BPETokenizer.cs
- Źródło:
- BPETokenizer.cs
- Źródło:
- BPETokenizer.cs
Zdekoduj podane identyfikatory z powrotem do ciągu.
public string Decode(System.Collections.Generic.IEnumerable<int> ids, bool considerSpecialTokens);
override this.Decode : seq<int> * bool -> string
Public Function Decode (ids As IEnumerable(Of Integer), considerSpecialTokens As Boolean) As String
Parametry
- ids
- IEnumerable<Int32>
Lista identyfikatorów, które chcemy dekodować.
- considerSpecialTokens
- Boolean
Określ, czy należy wziąć pod uwagę specjalne tokeny, czy nie.
Zwraca
Zdekodowany ciąg.