Class OperatorSetIdProto
Operator Sets
OperatorSets are uniquely identified by a (domain, opset_version) pair.
Inheritance
OperatorSetIdProto
Namespace: Onnx
Syntax
public sealed class OperatorSetIdProto : Google.Protobuf.IMessage<OperatorSetIdProto>
Constructors
OperatorSetIdProto()
Declaration
public OperatorSetIdProto()
OperatorSetIdProto(OperatorSetIdProto)
Declaration
public OperatorSetIdProto(OperatorSetIdProto other)
Parameters
Fields
DomainFieldNumber
Field number for the "domain" field.
Declaration
public const int DomainFieldNumber = 1
Field Value
VersionFieldNumber
Field number for the "version" field.
Declaration
public const int VersionFieldNumber = 2
Field Value
Properties
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
Domain
The domain of the operator set being identified.
The empty string ("") or absence of this field implies the operator
set that is defined as part of the ONNX specification.
This field MUST be present in this version of the IR when referring to any other operator set.
Declaration
public string Domain { get; set; }
Property Value
Parser
Declaration
public static Google.Protobuf.MessageParser<OperatorSetIdProto> Parser { get; }
Property Value
Version
The version of the operator set being identified.
This field MUST be present in this version of the IR.
Declaration
public long Version { get; set; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Clone()
Declaration
public OperatorSetIdProto Clone()
Returns
Equals(OperatorSetIdProto)
Declaration
public bool Equals(OperatorSetIdProto 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(OperatorSetIdProto)
Declaration
public void MergeFrom(OperatorSetIdProto 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 |
|