docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TensorExtensions

    Provides extension methods for tensors.

    Inheritance
    object
    TensorExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Sentis
    Assembly: Unity.Sentis.dll
    Syntax
    public static class TensorExtensions

    Methods

    PrintDataPart(Tensor, int, string)

    Logs tensor data to the Console window.

    Declaration
    public static void PrintDataPart(this Tensor X, int size, string msg = "")
    Parameters
    Type Name Description
    Tensor X

    The tensor to log.

    int size

    The number of elements to limit the data to.

    string msg

    The message to prepend to the tensor data.

    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)