TypeProto
Models & Types · AiDotNet.Onnx.Protobuf
Types
The standard ONNX data types.
Implements: IBufferMessage, IMessage<TypeProto>
Constructors
| Constructor | Summary |
|---|---|
TypeProto() |
|
TypeProto(TypeProto other) |
Properties
| Property | Summary |
|---|---|
Map MapType { get; set; } |
The type of a map. |
MessageDescriptor Descriptor { get; } |
|
MessageParser<TypeProto> Parser { get; } |
|
Optional OptionalType { get; set; } |
The type of an optional. |
Sequence SequenceType { get; set; } |
The type of a sequence. |
SparseTensor SparseTensorType { get; set; } |
Type of the sparse tensor |
Tensor TensorType { get; set; } |
The type of a tensor. |
ValueOneofCase ValueCase { get; } |
|
string Denotation { get; set; } |
An optional denotation can be used to denote the whole type with a standard semantic description as to what is stored inside. |
Methods
| Method | Summary |
|---|---|
TypeProto Clone() |
|
bool Equals(TypeProto other) |
|
bool Equals(object other) |
|
int CalculateSize() |
|
int GetHashCode() |
|
string ToString() |
|
void ClearValue() |
|
void MergeFrom(CodedInputStream input) |
|
void MergeFrom(TypeProto other) |
|
void WriteTo(CodedOutputStream output) |
Fields
| Field | Summary |
|---|---|
int DenotationFieldNumber |
Field number for the “denotation” field. |
int MapTypeFieldNumber |
Field number for the “map_type” field. |
int OptionalTypeFieldNumber |
Field number for the “optional_type” field. |
int SequenceTypeFieldNumber |
Field number for the “sequence_type” field. |
int SparseTensorTypeFieldNumber |
Field number for the “sparse_tensor_type” field. |
int TensorTypeFieldNumber |
Field number for the “tensor_type” field. |