docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor Dense

    Dense(string, string, string, string, FusableActivation)

    Initializes and returns an instance of Dense math operation layer.

    Declaration
    public Dense(string name, string input, string weights, string bias, FusableActivation fusedActivation = FusableActivation.None)
    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 first input tensor of the layer.

    string weights

    The name to use for the weights input tensor of the layer.

    string bias

    The name to use for the bias input tensor of the layer.

    FusableActivation fusedActivation

    The fusable activation to apply to the output tensor of the layer.

    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)