docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor RandomNormalLike

    RandomNormalLike(string, string, float, float, float?)

    Initializes and returns an instance of RandomNormalLike random layer.

    Declaration
    public RandomNormalLike(string name, string input, float mean, float scale, float? seed)
    Parameters
    Type Name Description
    string name

    The name to use for the output tensor of the layer.

    string input

    The name to use for the input tensor of the layer. The layer does not use the values of this tensor in the computation.

    float mean

    The mean of the normal distribution used to generate the output.

    float scale

    The standard deviation of the normal distribution used to generate the output.

    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)