docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Cos

    Cos(TensorFloat)

    Computes an output tensor by applying the element-wise Cos trigonometric function: f(x) = cos(x).

    Declaration
    public TensorFloat Cos(TensorFloat X)
    Parameters
    Type Name Description
    TensorFloat X

    The input 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)