docs.unity3d.com
    Show / Hide Table of Contents

    Enum PadMode

    Options for the padding values for Pad.

    Namespace: Unity.Sentis.Layers
    Syntax
    public enum PadMode

    Fields

    Name Description Value
    Constant

    Use a constant value for the padded data.


    0
    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.


    1
    Edge

    Use the edge values of the input tensor.


    2
    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.


    3
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023