docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor RandomLayer

    RandomLayer(float?)

    Initializes and returns an instance of RandomLayer.

    Declaration
    protected RandomLayer(float? seed)
    Parameters
    Type Name Description
    float? seed

    The optional seed to use for the random number generation. If this is null the layer generates a seed using System.Random().

    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)