docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum PadMode

    Options for the padding values for Pad.

    Namespace: Unity.Sentis.Layers
    Assembly: Unity.Sentis.dll
    Syntax
    public enum PadMode

    Fields

    Name Description
    Constant

    Use a constant value for the padded data.

    Edge

    Use the edge values of the input tensor.

    Reflect

    Use the reflection of the values of the input tensor mirrored on the first and last values along the axis. The edge values appear once in the output tensor.

    Symmetric

    Use the reflection of the values of the input tensor mirrored half a step outside the first and last values along the axis. The edge values appear twice in the output tensor.

    Wrap

    Wrap the values of the input tensor like a torus for the padded data.

    In This Article
    Back to top
    Copyright © 2024 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)