docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor Multinomial

    Multinomial(string, string, int, float?)

    Initializes and returns an instance of Multinomial random layer.

    Declaration
    public Multinomial(string name, string input, int count, 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 probabilities tensor of the layer.

    int count

    The number of times to sample the input.

    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)