docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class FunctionalTensor

    Represents a tensor that is a result of tensor operations.

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

    Properties

    this[Index, Index, Index, Range]

    Indexes the functional tensor.

    Declaration
    public FunctionalTensor this[Index i0, Index i1, Index i2, Range i3] { get; set; }
    Parameters
    Type Name Description
    Index i0

    The first index.

    Index i1

    The second index.

    Index i2

    The third index.

    Range i3

    The fourth index.

    Property Value
    Type Description
    FunctionalTensor

    this[Index, Index, Range]

    Indexes the functional tensor.

    Declaration
    public FunctionalTensor this[Index i0, Index i1, Range i2] { get; set; }
    Parameters
    Type Name Description
    Index i0

    The first index.

    Index i1

    The second index.

    Range i2

    The third index.

    Property Value
    Type Description
    FunctionalTensor

    this[Index, Index, Range, Index]

    Indexes the functional tensor.

    Declaration
    public FunctionalTensor this[Index i0, Index i1, Range i2, Index i3] { get; set; }
    Parameters
    Type Name Description
    Index i0

    The first index.

    Index i1

    The second index.

    Range i2

    The third index.

    Index i3

    The fourth index.

    Property Value
    Type Description
    FunctionalTensor

    this[Index, Index, Range, Range]

    Indexes the functional tensor.

    Declaration
    public FunctionalTensor this[Index i0, Index i1, Range i2, Range i3] { get; set; }
    Parameters
    Type Name Description
    Index i0

    The first index.

    Index i1

    The second index.

    Range i2

    The third index.

    Range i3

    The fourth index.

    Property Value
    Type Description
    FunctionalTensor

    this[Index, Range]

    Indexes the functional tensor.

    Declaration
    public FunctionalTensor this[Index i0, Range i1] { get; set; }
    Parameters
    Type Name Description
    Index i0

    The first index.

    Range i1

    The second index.

    Property Value
    Type Description
    FunctionalTensor

    this[Index, Range, Index]

    Indexes the functional tensor.

    Declaration
    public FunctionalTensor this[Index i0, Range i1, Index i2] { get; set; }
    Parameters
    Type Name Description
    Index i0

    The first index.

    Range i1

    The second index.

    Index i2

    The third index.

    Property Value
    Type Description
    FunctionalTensor

    this[Index, Range, Index, Index]

    Indexes the functional tensor.

    Declaration
    public FunctionalTensor this[Index i0, Range i1, Index i2, Index i3] { get; set; }
    Parameters
    Type Name Description
    Index i0

    The first index.

    Range i1

    The second index.

    Index i2

    The third index.

    Index i3

    The fourth index.

    Property Value
    Type Description
    FunctionalTensor

    this[Index, Range, Index, Range]

    Indexes the functional tensor.

    Declaration
    public FunctionalTensor this[Index i0, Range i1, Index i2, Range i3] { get; set; }
    Parameters
    Type Name Description
    Index i0

    The first index.

    Range i1

    The second index.

    Index i2

    The third index.

    Range i3

    The fourth index.

    Property Value
    Type Description
    FunctionalTensor

    this[Index, Range, Range]

    Indexes the functional tensor.

    Declaration
    public FunctionalTensor this[Index i0, Range i1, Range i2] { get; set; }
    Parameters
    Type Name Description
    Index i0

    The first index.

    Range i1

    The second index.

    Range i2

    The third index.

    Property Value
    Type Description
    FunctionalTensor

    this[Index, Range, Range, Index]

    Indexes the functional tensor.

    Declaration
    public FunctionalTensor this[Index i0, Range i1, Range i2, Index i3] { get; set; }
    Parameters
    Type Name Description
    Index i0

    The first index.

    Range i1

    The second index.

    Range i2

    The third index.

    Index i3

    The fourth index.

    Property Value
    Type Description
    FunctionalTensor

    this[Index, Range, Range, Range]

    Indexes the functional tensor.

    Declaration
    public FunctionalTensor this[Index i0, Range i1, Range i2, Range i3] { get; set; }
    Parameters
    Type Name Description
    Index i0

    The first index.

    Range i1

    The second index.

    Range i2

    The third index.

    Range i3

    The fourth index.

    Property Value
    Type Description
    FunctionalTensor

    this[Index[]]

    Indexes the functional tensor.

    Declaration
    public FunctionalTensor this[params Index[] indices] { get; set; }
    Parameters
    Type Name Description
    Index[] indices

    The indexes to index with.

    Property Value
    Type Description
    FunctionalTensor

    this[Range, Index]

    Indexes the functional tensor.

    Declaration
    public FunctionalTensor this[Range i0, Index i1] { get; set; }
    Parameters
    Type Name Description
    Range i0

    The first index.

    Index i1

    The second index.

    Property Value
    Type Description
    FunctionalTensor

    this[Range, Index, Index]

    Indexes the functional tensor.

    Declaration
    public FunctionalTensor this[Range i0, Index i1, Index i2] { get; set; }
    Parameters
    Type Name Description
    Range i0

    The first index.

    Index i1

    The second index.

    Index i2

    The third index.

    Property Value
    Type Description
    FunctionalTensor

    this[Range, Index, Index, Index]

    Indexes the functional tensor.

    Declaration
    public FunctionalTensor this[Range i0, Index i1, Index i2, Index i3] { get; set; }
    Parameters
    Type Name Description
    Range i0

    The first index.

    Index i1

    The second index.

    Index i2

    The third index.

    Index i3

    The fourth index.

    Property Value
    Type Description
    FunctionalTensor

    this[Range, Index, Index, Range]

    Indexes the functional tensor.

    Declaration
    public FunctionalTensor this[Range i0, Index i1, Index i2, Range i3] { get; set; }
    Parameters
    Type Name Description
    Range i0

    The first index.

    Index i1

    The second index.

    Index i2

    The third index.

    Range i3

    The fourth index.

    Property Value
    Type Description
    FunctionalTensor

    this[Range, Index, Range]

    Indexes the functional tensor.

    Declaration
    public FunctionalTensor this[Range i0, Index i1, Range i2] { get; set; }
    Parameters
    Type Name Description
    Range i0

    The first index.

    Index i1

    The second index.

    Range i2

    The third index.

    Property Value
    Type Description
    FunctionalTensor

    this[Range, Index, Range, Index]

    Indexes the functional tensor.

    Declaration
    public FunctionalTensor this[Range i0, Index i1, Range i2, Index i3] { get; set; }
    Parameters
    Type Name Description
    Range i0

    The first index.

    Index i1

    The second index.

    Range i2

    The third index.

    Index i3

    The fourth index.

    Property Value
    Type Description
    FunctionalTensor

    this[Range, Index, Range, Range]

    Indexes the functional tensor.

    Declaration
    public FunctionalTensor this[Range i0, Index i1, Range i2, Range i3] { get; set; }
    Parameters
    Type Name Description
    Range i0

    The first index.

    Index i1

    The second index.

    Range i2

    The third index.

    Range i3

    The fourth index.

    Property Value
    Type Description
    FunctionalTensor

    this[Range, Range, Index]

    Indexes the functional tensor.

    Declaration
    public FunctionalTensor this[Range i0, Range i1, Index i2] { get; set; }
    Parameters
    Type Name Description
    Range i0

    The first index.

    Range i1

    The second index.

    Index i2

    The third index.

    Property Value
    Type Description
    FunctionalTensor

    this[Range, Range, Index, Index]

    Indexes the functional tensor.

    Declaration
    public FunctionalTensor this[Range i0, Range i1, Index i2, Index i3] { get; set; }
    Parameters
    Type Name Description
    Range i0

    The first index.

    Range i1

    The second index.

    Index i2

    The third index.

    Index i3

    The fourth index.

    Property Value
    Type Description
    FunctionalTensor

    this[Range, Range, Index, Range]

    Indexes the functional tensor.

    Declaration
    public FunctionalTensor this[Range i0, Range i1, Index i2, Range i3] { get; set; }
    Parameters
    Type Name Description
    Range i0

    The first index.

    Range i1

    The second index.

    Index i2

    The third index.

    Range i3

    The fourth index.

    Property Value
    Type Description
    FunctionalTensor

    this[Range, Range, Range, Index]

    Indexes the functional tensor.

    Declaration
    public FunctionalTensor this[Range i0, Range i1, Range i2, Index i3] { get; set; }
    Parameters
    Type Name Description
    Range i0

    The first index.

    Range i1

    The second index.

    Range i2

    The third index.

    Index i3

    The fourth index.

    Property Value
    Type Description
    FunctionalTensor

    this[Range[]]

    Indexes the functional tensor.

    Declaration
    public FunctionalTensor this[params Range[] ranges] { get; set; }
    Parameters
    Type Name Description
    Range[] ranges

    The ranges to index with.

    Property Value
    Type Description
    FunctionalTensor

    Methods

    ToString()

    Returns a string that represents the FunctionalTensor with the data type and shape if known.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    The string representation of the FunctionalTensor.

    Overrides
    object.ToString()

    Operators

    operator +(int, FunctionalTensor)

    Addition operator.

    Declaration
    public static FunctionalTensor operator +(int a, FunctionalTensor b)
    Parameters
    Type Name Description
    int a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator +(float, FunctionalTensor)

    Addition operator.

    Declaration
    public static FunctionalTensor operator +(float a, FunctionalTensor b)
    Parameters
    Type Name Description
    float a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator +(FunctionalTensor, int)

    Addition operator.

    Declaration
    public static FunctionalTensor operator +(FunctionalTensor a, int b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    int b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator +(FunctionalTensor, float)

    Addition operator.

    Declaration
    public static FunctionalTensor operator +(FunctionalTensor a, float b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    float b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator +(FunctionalTensor, FunctionalTensor)

    Addition operator.

    Declaration
    public static FunctionalTensor operator +(FunctionalTensor a, FunctionalTensor b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator &(bool, FunctionalTensor)

    And operator.

    Declaration
    public static FunctionalTensor operator &(bool a, FunctionalTensor b)
    Parameters
    Type Name Description
    bool a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator &(FunctionalTensor, bool)

    And operator.

    Declaration
    public static FunctionalTensor operator &(FunctionalTensor a, bool b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    bool b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator &(FunctionalTensor, FunctionalTensor)

    And operator.

    Declaration
    public static FunctionalTensor operator &(FunctionalTensor a, FunctionalTensor b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator |(bool, FunctionalTensor)

    Or operator.

    Declaration
    public static FunctionalTensor operator |(bool a, FunctionalTensor b)
    Parameters
    Type Name Description
    bool a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator |(FunctionalTensor, bool)

    Or operator.

    Declaration
    public static FunctionalTensor operator |(FunctionalTensor a, bool b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    bool b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator |(FunctionalTensor, FunctionalTensor)

    Or operator.

    Declaration
    public static FunctionalTensor operator |(FunctionalTensor a, FunctionalTensor b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator /(int, FunctionalTensor)

    Division operator.

    Declaration
    public static FunctionalTensor operator /(int a, FunctionalTensor b)
    Parameters
    Type Name Description
    int a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator /(float, FunctionalTensor)

    Division operator.

    Declaration
    public static FunctionalTensor operator /(float a, FunctionalTensor b)
    Parameters
    Type Name Description
    float a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator /(FunctionalTensor, int)

    Division operator.

    Declaration
    public static FunctionalTensor operator /(FunctionalTensor a, int b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    int b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator /(FunctionalTensor, float)

    Division operator.

    Declaration
    public static FunctionalTensor operator /(FunctionalTensor a, float b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    float b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator /(FunctionalTensor, FunctionalTensor)

    Division operator.

    Declaration
    public static FunctionalTensor operator /(FunctionalTensor a, FunctionalTensor b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator ^(bool, FunctionalTensor)

    Xor operator.

    Declaration
    public static FunctionalTensor operator ^(bool a, FunctionalTensor b)
    Parameters
    Type Name Description
    bool a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator ^(FunctionalTensor, bool)

    Xor operator.

    Declaration
    public static FunctionalTensor operator ^(FunctionalTensor a, bool b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    bool b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator ^(FunctionalTensor, FunctionalTensor)

    Xor operator.

    Declaration
    public static FunctionalTensor operator ^(FunctionalTensor a, FunctionalTensor b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator >(int, FunctionalTensor)

    Greater than operator.

    Declaration
    public static FunctionalTensor operator >(int a, FunctionalTensor b)
    Parameters
    Type Name Description
    int a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator >(float, FunctionalTensor)

    Greater than operator.

    Declaration
    public static FunctionalTensor operator >(float a, FunctionalTensor b)
    Parameters
    Type Name Description
    float a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator >(FunctionalTensor, int)

    Greater than operator.

    Declaration
    public static FunctionalTensor operator >(FunctionalTensor a, int b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    int b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator >(FunctionalTensor, float)

    Greater than operator.

    Declaration
    public static FunctionalTensor operator >(FunctionalTensor a, float b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    float b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator >(FunctionalTensor, FunctionalTensor)

    Greater than operator.

    Declaration
    public static FunctionalTensor operator >(FunctionalTensor a, FunctionalTensor b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator >=(int, FunctionalTensor)

    Greater than or equal operator.

    Declaration
    public static FunctionalTensor operator >=(int a, FunctionalTensor b)
    Parameters
    Type Name Description
    int a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator >=(float, FunctionalTensor)

    Greater than or equal operator.

    Declaration
    public static FunctionalTensor operator >=(float a, FunctionalTensor b)
    Parameters
    Type Name Description
    float a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator >=(FunctionalTensor, int)

    Greater than or equal operator.

    Declaration
    public static FunctionalTensor operator >=(FunctionalTensor a, int b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    int b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator >=(FunctionalTensor, float)

    Greater than or equal operator.

    Declaration
    public static FunctionalTensor operator >=(FunctionalTensor a, float b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    float b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator >=(FunctionalTensor, FunctionalTensor)

    Greater than or equal operator.

    Declaration
    public static FunctionalTensor operator >=(FunctionalTensor a, FunctionalTensor b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator <(int, FunctionalTensor)

    Less than operator.

    Declaration
    public static FunctionalTensor operator <(int a, FunctionalTensor b)
    Parameters
    Type Name Description
    int a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator <(float, FunctionalTensor)

    Less than operator.

    Declaration
    public static FunctionalTensor operator <(float a, FunctionalTensor b)
    Parameters
    Type Name Description
    float a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator <(FunctionalTensor, int)

    Less than operator.

    Declaration
    public static FunctionalTensor operator <(FunctionalTensor a, int b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    int b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator <(FunctionalTensor, float)

    Less than operator.

    Declaration
    public static FunctionalTensor operator <(FunctionalTensor a, float b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    float b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator <(FunctionalTensor, FunctionalTensor)

    Less than operator.

    Declaration
    public static FunctionalTensor operator <(FunctionalTensor a, FunctionalTensor b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator <=(int, FunctionalTensor)

    Less than or equal operator.

    Declaration
    public static FunctionalTensor operator <=(int a, FunctionalTensor b)
    Parameters
    Type Name Description
    int a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator <=(float, FunctionalTensor)

    Less than or equal operator.

    Declaration
    public static FunctionalTensor operator <=(float a, FunctionalTensor b)
    Parameters
    Type Name Description
    float a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator <=(FunctionalTensor, int)

    Less than or equal operator.

    Declaration
    public static FunctionalTensor operator <=(FunctionalTensor a, int b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    int b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator <=(FunctionalTensor, float)

    Less than or equal operator.

    Declaration
    public static FunctionalTensor operator <=(FunctionalTensor a, float b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    float b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator <=(FunctionalTensor, FunctionalTensor)

    Less than or equal operator.

    Declaration
    public static FunctionalTensor operator <=(FunctionalTensor a, FunctionalTensor b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator %(int, FunctionalTensor)

    Remainder operator.

    Declaration
    public static FunctionalTensor operator %(int a, FunctionalTensor b)
    Parameters
    Type Name Description
    int a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator %(float, FunctionalTensor)

    Remainder operator.

    Declaration
    public static FunctionalTensor operator %(float a, FunctionalTensor b)
    Parameters
    Type Name Description
    float a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator %(FunctionalTensor, int)

    Remainder operator.

    Declaration
    public static FunctionalTensor operator %(FunctionalTensor a, int b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    int b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator %(FunctionalTensor, float)

    Remainder operator.

    Declaration
    public static FunctionalTensor operator %(FunctionalTensor a, float b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    float b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator %(FunctionalTensor, FunctionalTensor)

    Remainder operator.

    Declaration
    public static FunctionalTensor operator %(FunctionalTensor a, FunctionalTensor b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator *(int, FunctionalTensor)

    Multiply operator.

    Declaration
    public static FunctionalTensor operator *(int a, FunctionalTensor b)
    Parameters
    Type Name Description
    int a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator *(float, FunctionalTensor)

    Multiply operator.

    Declaration
    public static FunctionalTensor operator *(float a, FunctionalTensor b)
    Parameters
    Type Name Description
    float a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator *(FunctionalTensor, int)

    Multiply operator.

    Declaration
    public static FunctionalTensor operator *(FunctionalTensor a, int b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    int b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator *(FunctionalTensor, float)

    Multiply operator.

    Declaration
    public static FunctionalTensor operator *(FunctionalTensor a, float b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    float b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator *(FunctionalTensor, FunctionalTensor)

    Multiply operator.

    Declaration
    public static FunctionalTensor operator *(FunctionalTensor a, FunctionalTensor b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator ~(FunctionalTensor)

    Unary not operator.

    Declaration
    public static FunctionalTensor operator ~(FunctionalTensor a)
    Parameters
    Type Name Description
    FunctionalTensor a

    The operand tensor.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator -(int, FunctionalTensor)

    Subtraction operator.

    Declaration
    public static FunctionalTensor operator -(int a, FunctionalTensor b)
    Parameters
    Type Name Description
    int a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator -(float, FunctionalTensor)

    Subtraction operator.

    Declaration
    public static FunctionalTensor operator -(float a, FunctionalTensor b)
    Parameters
    Type Name Description
    float a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator -(FunctionalTensor, int)

    Subtraction operator.

    Declaration
    public static FunctionalTensor operator -(FunctionalTensor a, int b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    int b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator -(FunctionalTensor, float)

    Subtraction operator.

    Declaration
    public static FunctionalTensor operator -(FunctionalTensor a, float b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    float b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator -(FunctionalTensor, FunctionalTensor)

    Subtraction operator.

    Declaration
    public static FunctionalTensor operator -(FunctionalTensor a, FunctionalTensor b)
    Parameters
    Type Name Description
    FunctionalTensor a

    The first operand.

    FunctionalTensor b

    The second operand.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator -(FunctionalTensor)

    Unary negation operator.

    Declaration
    public static FunctionalTensor operator -(FunctionalTensor a)
    Parameters
    Type Name Description
    FunctionalTensor a

    The operand tensor.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    operator +(FunctionalTensor)

    Unary plus operator.

    Declaration
    public static FunctionalTensor operator +(FunctionalTensor a)
    Parameters
    Type Name Description
    FunctionalTensor a

    The operand tensor.

    Returns
    Type Description
    FunctionalTensor

    The output tensor.

    Extension Methods

    Functional.BroadcastTo(FunctionalTensor, int[])
    Functional.Clone(FunctionalTensor)
    Functional.Flip(FunctionalTensor, int[])
    Functional.FlipLR(FunctionalTensor)
    Functional.FlipUD(FunctionalTensor)
    Functional.Float(FunctionalTensor)
    Functional.Gather(FunctionalTensor, int, FunctionalTensor)
    Functional.IndexSelect(FunctionalTensor, int, FunctionalTensor)
    Functional.Int(FunctionalTensor)
    Functional.MoveDim(FunctionalTensor, int, int)
    Functional.MoveDim(FunctionalTensor, int[], int[])
    Functional.Narrow(FunctionalTensor, int, int, int)
    Functional.Narrow(FunctionalTensor, int, FunctionalTensor, FunctionalTensor)
    Functional.Pad(FunctionalTensor, int[], int)
    Functional.Pad(FunctionalTensor, int[], float)
    Functional.Pad(FunctionalTensor, int[], string)
    Functional.Permute(FunctionalTensor, int[])
    Functional.Ravel(FunctionalTensor)
    Functional.Reshape(FunctionalTensor, int[])
    Functional.Select(FunctionalTensor, int, int)
    Functional.Select(FunctionalTensor, int, FunctionalTensor)
    Functional.Split(FunctionalTensor, int[], int)
    Functional.Squeeze(FunctionalTensor)
    Functional.Squeeze(FunctionalTensor, int[])
    Functional.Take(FunctionalTensor, FunctionalTensor)
    Functional.Tile(FunctionalTensor, int[])
    Functional.Transpose(FunctionalTensor, int, int)
    Functional.Type(FunctionalTensor, DataType)
    Functional.Unsqueeze(FunctionalTensor, int)
    In This Article
    Back to top
    Copyright © 2025 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)