docs.unity.cn
    Show / Hide Table of Contents

    Interface ITensorStatistics

    Namespace: Unity.Barracuda
    Syntax
    public interface ITensorStatistics : IUniqueResource

    Properties

    cacheBytes

    Return amount of internal tensor cache in bytes.

    Declaration
    int cacheBytes { get; }
    Property Value
    Type Description
    Int32

    dataType

    Return the data type of this tensor.

    Declaration
    DataType dataType { get; }
    Property Value
    Type Description
    DataType

    name

    Return this tensor name.

    Declaration
    string name { get; }
    Property Value
    Type Description
    String

    shape

    Return the shape of this tensor.

    Declaration
    TensorShape shape { get; }
    Property Value
    Type Description
    TensorShape

    Methods

    GetTensorDataStatistics()

    Return this tensor tensor data statistics if any or null.

    Declaration
    ITensorDataStatistics GetTensorDataStatistics()
    Returns
    Type Description
    ITensorDataStatistics
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Tuesday, July 4, 2023