docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Dense

    Dense(TensorFloat, TensorFloat, TensorFloat)

    Performs a matrix multiplication operation: f(X, w, b) = X x W + B.

    This supports numpy-style broadcasting of input tensors.

    Declaration
    public TensorFloat Dense(TensorFloat X, TensorFloat W, TensorFloat B)
    Parameters
    Type Name Description
    TensorFloat X

    The input tensor.

    TensorFloat W

    The weights tensor.

    TensorFloat B

    The bias tensor.

    Returns
    Type Description
    TensorFloat

    The computed output tensor.

    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)