docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DefaultPostProcessor

    Interlaces the primary and secondary sequences of tokens.

    Inheritance
    object
    DefaultPostProcessor
    Implements
    IPostProcessor
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.InferenceEngine.Tokenization.PostProcessors
    Assembly: Unity.InferenceEngine.Tokenization.dll
    Syntax
    public class DefaultPostProcessor : IPostProcessor

    Constructors

    DefaultPostProcessor()

    Initializes a new instance of the DefaultPostProcessor type.

    Declaration
    public DefaultPostProcessor()

    Methods

    GetNumAddedTokens(bool)

    Determines the number of tokens that this IPostProcessor will add to the sequence of tokens.

    Declaration
    public int GetNumAddedTokens(bool _)
    Parameters
    Type Name Description
    bool _
    Returns
    Type Description
    int

    Number of tokens that this IPostProcessor will add to the sequence of tokens

    PostProcess(IReadOnlyList<IReadOnlyList<Token>>, IReadOnlyList<IReadOnlyList<Token>>, bool, Output<IEnumerable<IEnumerable<Token>>>)

    Processes the sequence of tokens.

    Declaration
    public void PostProcess(IReadOnlyList<IReadOnlyList<Token>> sequenceA, IReadOnlyList<IReadOnlyList<Token>> sequenceB, bool _, Output<IEnumerable<IEnumerable<Token>>> output)
    Parameters
    Type Name Description
    IReadOnlyList<IReadOnlyList<Token>> sequenceA

    The single, or first sequence of tokens.

    IReadOnlyList<IReadOnlyList<Token>> sequenceB

    The second sequence of a pair.

    bool _
    Output<IEnumerable<IEnumerable<Token>>> output

    The recipient of processed sequences.

    Implements

    IPostProcessor
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)