Class TensorIterator | Barracuda | 1.1.2-preview
docs.unity.cn
    Show / Hide Table of Contents

    Class TensorIterator

    Inheritance
    Object
    TensorIterator
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Barracuda
    Syntax
    public class TensorIterator

    Constructors

    TensorIterator(Tensor, Int32)

    Declaration
    public TensorIterator(Tensor tensor, int index = 0)
    Parameters
    Type Name Description
    Tensor tensor
    Int32 index

    TensorIterator(TensorShape, Int32)

    Declaration
    public TensorIterator(TensorShape shape, int index = 0)
    Parameters
    Type Name Description
    TensorShape shape
    Int32 index

    Fields

    d0

    Declaration
    public int d0
    Field Value
    Type Description
    Int32

    d1

    Declaration
    public int d1
    Field Value
    Type Description
    Int32

    d2

    Declaration
    public int d2
    Field Value
    Type Description
    Int32

    d3

    Declaration
    public int d3
    Field Value
    Type Description
    Int32

    d4

    Declaration
    public int d4
    Field Value
    Type Description
    Int32

    d5

    Declaration
    public int d5
    Field Value
    Type Description
    Int32

    d6

    Declaration
    public int d6
    Field Value
    Type Description
    Int32

    d7

    Declaration
    public int d7
    Field Value
    Type Description
    Int32

    index

    Declaration
    public int index
    Field Value
    Type Description
    Int32

    shape

    Declaration
    public readonly TensorShape shape
    Field Value
    Type Description
    TensorShape

    Properties

    Item[Int32]

    Declaration
    public int this[int axis] { get; }
    Parameters
    Type Name Description
    Int32 axis
    Property Value
    Type Description
    Int32

    Methods

    Inc()

    Declaration
    public TensorIterator Inc()
    Returns
    Type Description
    TensorIterator

    Inc(Int32)

    Declaration
    public TensorIterator Inc(int step)
    Parameters
    Type Name Description
    Int32 step
    Returns
    Type Description
    TensorIterator

    IsValid()

    Declaration
    public bool IsValid()
    Returns
    Type Description
    Boolean

    Operators

    Decrement(TensorIterator)

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

    Implicit(TensorIterator to Int32)

    Declaration
    public static implicit operator int (TensorIterator a)
    Parameters
    Type Name Description
    TensorIterator a
    Returns
    Type Description
    Int32

    Increment(TensorIterator)

    Declaration
    public static TensorIterator operator ++(TensorIterator a)
    Parameters
    Type Name Description
    TensorIterator a
    Returns
    Type Description
    TensorIterator
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 15 October 2020