Tensor<T> Tensor<T> Tensor<T> Tensor<T> Class

Definition

generic <typename T>
public ref class Tensor abstract : System::Collections::Generic::ICollection<T>, System::Collections::Generic::IEnumerable<T>, System::Collections::Generic::IList<T>, System::Collections::Generic::IReadOnlyCollection<T>, System::Collections::Generic::IReadOnlyList<T>, System::Collections::IList, System::Collections::IStructuralComparable, System::Collections::IStructuralEquatable
public abstract class Tensor<T> : System.Collections.Generic.ICollection<T>, System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IList<T>, System.Collections.Generic.IReadOnlyCollection<T>, System.Collections.Generic.IReadOnlyList<T>, System.Collections.IList, System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable
type Tensor<'T> = class
    interface ICollection<'T>
    interface seq<'T>
    interface IEnumerable
    interface IList<'T>
    interface IReadOnlyCollection<'T>
    interface IReadOnlyList<'T>
    interface ICollection
    interface IList
    interface IStructuralComparable
    interface IStructuralEquatable
Public MustInherit Class Tensor(Of T)
Implements ICollection(Of T), IEnumerable(Of T), IList, IList(Of T), IReadOnlyCollection(Of T), IReadOnlyList(Of T), IStructuralComparable, IStructuralEquatable

Type Parameters

T
Inheritance
Tensor<T>Tensor<T>Tensor<T>Tensor<T>
Derived
Implements

Constructors

Tensor<T>(Array, Boolean) Tensor<T>(Array, Boolean) Tensor<T>(Array, Boolean) Tensor<T>(Array, Boolean)
Tensor<T>(Int32) Tensor<T>(Int32) Tensor<T>(Int32) Tensor<T>(Int32)
Tensor<T>(ReadOnlySpan<Int32>, Boolean) Tensor<T>(ReadOnlySpan<Int32>, Boolean) Tensor<T>(ReadOnlySpan<Int32>, Boolean) Tensor<T>(ReadOnlySpan<Int32>, Boolean)

Properties

Dimensions Dimensions Dimensions Dimensions
IsFixedSize IsFixedSize IsFixedSize IsFixedSize
IsReadOnly IsReadOnly IsReadOnly IsReadOnly
IsReversedStride IsReversedStride IsReversedStride IsReversedStride
Item[Int32[]] Item[Int32[]] Item[Int32[]] Item[Int32[]]
Item[ReadOnlySpan<Int32>] Item[ReadOnlySpan<Int32>] Item[ReadOnlySpan<Int32>] Item[ReadOnlySpan<Int32>]
Length Length Length Length
Rank Rank Rank Rank
Strides Strides Strides Strides

Methods

Clone() Clone() Clone() Clone()
CloneEmpty() CloneEmpty() CloneEmpty() CloneEmpty()
CloneEmpty(ReadOnlySpan<Int32>) CloneEmpty(ReadOnlySpan<Int32>) CloneEmpty(ReadOnlySpan<Int32>) CloneEmpty(ReadOnlySpan<Int32>)
CloneEmpty<TResult>() CloneEmpty<TResult>() CloneEmpty<TResult>() CloneEmpty<TResult>()
CloneEmpty<TResult>(ReadOnlySpan<Int32>) CloneEmpty<TResult>(ReadOnlySpan<Int32>) CloneEmpty<TResult>(ReadOnlySpan<Int32>) CloneEmpty<TResult>(ReadOnlySpan<Int32>)
Compare(Tensor<T>, Tensor<T>) Compare(Tensor<T>, Tensor<T>) Compare(Tensor<T>, Tensor<T>) Compare(Tensor<T>, Tensor<T>)
Contains(T) Contains(T) Contains(T) Contains(T)
CopyTo(T[], Int32) CopyTo(T[], Int32) CopyTo(T[], Int32) CopyTo(T[], Int32)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Equals(Tensor<T>, Tensor<T>) Equals(Tensor<T>, Tensor<T>) Equals(Tensor<T>, Tensor<T>) Equals(Tensor<T>, Tensor<T>)
Fill(T) Fill(T) Fill(T) Fill(T)
GetArrayString(Boolean) GetArrayString(Boolean) GetArrayString(Boolean) GetArrayString(Boolean)
GetDiagonal() GetDiagonal() GetDiagonal() GetDiagonal()
GetDiagonal(Int32) GetDiagonal(Int32) GetDiagonal(Int32) GetDiagonal(Int32)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetTriangle() GetTriangle() GetTriangle() GetTriangle()
GetTriangle(Int32) GetTriangle(Int32) GetTriangle(Int32) GetTriangle(Int32)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetUpperTriangle() GetUpperTriangle() GetUpperTriangle() GetUpperTriangle()
GetUpperTriangle(Int32) GetUpperTriangle(Int32) GetUpperTriangle(Int32) GetUpperTriangle(Int32)
GetValue(Int32) GetValue(Int32) GetValue(Int32) GetValue(Int32)
IndexOf(T) IndexOf(T) IndexOf(T) IndexOf(T)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Reshape(ReadOnlySpan<Int32>) Reshape(ReadOnlySpan<Int32>) Reshape(ReadOnlySpan<Int32>) Reshape(ReadOnlySpan<Int32>)
SetValue(Int32, T) SetValue(Int32, T) SetValue(Int32, T) SetValue(Int32, T)
ToCompressedSparseTensor() ToCompressedSparseTensor() ToCompressedSparseTensor() ToCompressedSparseTensor()
ToDenseTensor() ToDenseTensor() ToDenseTensor() ToDenseTensor()
ToSparseTensor() ToSparseTensor() ToSparseTensor() ToSparseTensor()
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32)
ICollection.Count ICollection.Count ICollection.Count ICollection.Count
ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized
ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot
ICollection<T>.Add(T) ICollection<T>.Add(T) ICollection<T>.Add(T) ICollection<T>.Add(T)
ICollection<T>.Clear() ICollection<T>.Clear() ICollection<T>.Clear() ICollection<T>.Clear()
ICollection<T>.Contains(T) ICollection<T>.Contains(T) ICollection<T>.Contains(T) ICollection<T>.Contains(T)
ICollection<T>.CopyTo(T[], Int32) ICollection<T>.CopyTo(T[], Int32) ICollection<T>.CopyTo(T[], Int32) ICollection<T>.CopyTo(T[], Int32)
ICollection<T>.Count ICollection<T>.Count ICollection<T>.Count ICollection<T>.Count
ICollection<T>.Remove(T) ICollection<T>.Remove(T) ICollection<T>.Remove(T) ICollection<T>.Remove(T)
IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()
IEnumerable<T>.GetEnumerator() IEnumerable<T>.GetEnumerator() IEnumerable<T>.GetEnumerator() IEnumerable<T>.GetEnumerator()
IList.Add(Object) IList.Add(Object) IList.Add(Object) IList.Add(Object)
IList.Clear() IList.Clear() IList.Clear() IList.Clear()
IList.Contains(Object) IList.Contains(Object) IList.Contains(Object) IList.Contains(Object)
IList.IndexOf(Object) IList.IndexOf(Object) IList.IndexOf(Object) IList.IndexOf(Object)
IList.Insert(Int32, Object) IList.Insert(Int32, Object) IList.Insert(Int32, Object) IList.Insert(Int32, Object)
IList.Item[Int32] IList.Item[Int32] IList.Item[Int32] IList.Item[Int32]
IList.Remove(Object) IList.Remove(Object) IList.Remove(Object) IList.Remove(Object)
IList.RemoveAt(Int32) IList.RemoveAt(Int32) IList.RemoveAt(Int32) IList.RemoveAt(Int32)
IList<T>.IndexOf(T) IList<T>.IndexOf(T) IList<T>.IndexOf(T) IList<T>.IndexOf(T)
IList<T>.Insert(Int32, T) IList<T>.Insert(Int32, T) IList<T>.Insert(Int32, T) IList<T>.Insert(Int32, T)
IList<T>.Item[Int32] IList<T>.Item[Int32] IList<T>.Item[Int32] IList<T>.Item[Int32]
IList<T>.RemoveAt(Int32) IList<T>.RemoveAt(Int32) IList<T>.RemoveAt(Int32) IList<T>.RemoveAt(Int32)
IReadOnlyCollection<T>.Count IReadOnlyCollection<T>.Count IReadOnlyCollection<T>.Count IReadOnlyCollection<T>.Count
IReadOnlyList<T>.Item[Int32] IReadOnlyList<T>.Item[Int32] IReadOnlyList<T>.Item[Int32] IReadOnlyList<T>.Item[Int32]
IStructuralComparable.CompareTo(Object, IComparer) IStructuralComparable.CompareTo(Object, IComparer) IStructuralComparable.CompareTo(Object, IComparer) IStructuralComparable.CompareTo(Object, IComparer)
IStructuralEquatable.Equals(Object, IEqualityComparer) IStructuralEquatable.Equals(Object, IEqualityComparer) IStructuralEquatable.Equals(Object, IEqualityComparer) IStructuralEquatable.Equals(Object, IEqualityComparer)
IStructuralEquatable.GetHashCode(IEqualityComparer) IStructuralEquatable.GetHashCode(IEqualityComparer) IStructuralEquatable.GetHashCode(IEqualityComparer) IStructuralEquatable.GetHashCode(IEqualityComparer)

Applies to