Show / Hide Table of Contents

Class TensorElementTypeInfo

Holds TensorElement traits

Inheritance
Object
TensorElementTypeInfo
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Microsoft.ML.OnnxRuntime.Tensors
Assembly: Microsoft.ML.OnnxRuntime.dll
Syntax
public class TensorElementTypeInfo

Constructors

| Improve this Doc View Source

TensorElementTypeInfo(Type, Int32)

Ctor

Declaration
public TensorElementTypeInfo(Type type, int typeSize)
Parameters
Type Name Description
Type type

Tensor element type

Int32 typeSize

typesize

Properties

| Improve this Doc View Source

IsString

Is the type is a string

Declaration
public bool IsString { get; }
Property Value
Type Description
Boolean

true if Tensor element type is a string

| Improve this Doc View Source

TensorType

Tensor element type

Declaration
public Type TensorType { get; }
Property Value
Type Description
Type

System.Type

| Improve this Doc View Source

TypeSize

Size of the stored primitive type in bytes

Declaration
public int TypeSize { get; }
Property Value
Type Description
Int32

size in bytes

  • Improve this Doc
  • View Source
In This Article
Back to top