Język

EnglishRobertaTokenizer.ConvertIdsToOccurrenceValues Metoda

Definicja

Przekonwertuj listę identyfikatorów tokenu na najwyższe wartości wystąpień.

public System.Collections.Generic.IReadOnlyList<int> ConvertIdsToOccurrenceValues(System.Collections.Generic.IReadOnlyList<int> ids);
member this.ConvertIdsToOccurrenceValues : System.Collections.Generic.IReadOnlyList<int> -> System.Collections.Generic.IReadOnlyList<int>
Public Function ConvertIdsToOccurrenceValues (ids As IReadOnlyList(Of Integer)) As IReadOnlyList(Of Integer)

Parametry

ids
IReadOnlyList<Int32>

Lista Identyfikatorów do mapowania na wysokie wartości wystąpień.

Zwraca

Lista wartości wystąpień zamapowanych z listy identyfikatorów.

Dotyczy