docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Reduce

    Represents the abstract base class for reduction layers.

    Inheritance
    object
    Layer
    Reduce
    ReduceL1
    ReduceL2
    ReduceLogSum
    ReduceLogSumExp
    ReduceMax
    ReduceMean
    ReduceMin
    ReduceProd
    ReduceSum
    ReduceSumSquare
    Inherited Members
    Layer.inputs
    Layer.name
    Layer.outputs
    Layer.flags
    Layer.Execute(Tensor[], ExecutionContext)
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Sentis.Layers
    Assembly: solution.dll
    Syntax
    [Serializable]
    public abstract class Reduce : Layer

    Constructors

    Name Description
    Reduce(string, string[], bool, bool)

    Initializes and returns an instance of Reduce reduction layer.

    Fields

    Name Description
    keepdims

    Whether to keep the axis dimension in the output tensor.

    noopWithEmptyAxes

    Whether to perform an identity operation if the input axes tensor is empty.

    If this is false and the input axes tensor is empty then the reduction is applied on all axes of the input tensor.

    Methods

    Name Description
    ToString()

    Returns a string that represents 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)