Class TypeProto
Types
The standard ONNX data types.
Namespace: Onnx
Syntax
public sealed class TypeProto : Google.Protobuf.IMessage<TypeProto>
Constructors
TypeProto()
Declaration
TypeProto(TypeProto)
Declaration
public TypeProto(TypeProto other)
Parameters
Fields
DenotationFieldNumber
Field number for the "denotation" field.
Declaration
public const int DenotationFieldNumber = 6
Field Value
TensorTypeFieldNumber
Field number for the "tensor_type" field.
Declaration
public const int TensorTypeFieldNumber = 1
Field Value
Properties
Denotation
Declaration
public string Denotation { get; set; }
Property Value
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
Parser
Declaration
public static Google.Protobuf.MessageParser<TypeProto> Parser { get; }
Property Value
Type |
Description |
Google.Protobuf.MessageParser<TypeProto> |
|
TensorType
Declaration
public TypeProto.Types.Tensor TensorType { get; set; }
Property Value
ValueCase
Declaration
public TypeProto.ValueOneofCase ValueCase { get; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
ClearValue()
Declaration
Clone()
Declaration
Returns
Equals(TypeProto)
Declaration
public bool Equals(TypeProto other)
Parameters
Returns
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Declaration
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedInputStream |
input |
|
MergeFrom(TypeProto)
Declaration
public void MergeFrom(TypeProto other)
Parameters
ToString()
Declaration
public override string ToString()
Returns
WriteTo(Google.Protobuf.CodedOutputStream)
Declaration
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedOutputStream |
output |
|