NodeProto

Models & Types · AiDotNet.Onnx.Protobuf

Nodes

Computation graphs are made up of a DAG of nodes, which represent what is commonly called a “layer” or “pipeline stage” in machine learning frameworks.

For example, it can be a node of type “Conv” that takes in an image, a filter tensor and a bias tensor, and produces the convolved output.

Implements: IBufferMessage, IMessage<NodeProto>

Constructors

Constructor Summary
NodeProto()
NodeProto(NodeProto other)

Properties

Property Summary
MessageDescriptor Descriptor { get; }
MessageParser<NodeProto> Parser { get; }
RepeatedField<AttributeProto> Attribute { get; } Additional named attributes.
RepeatedField<StringStringEntryProto> MetadataProps { get; } Named metadata values; keys should be distinct.
RepeatedField<string> Input { get; } namespace Value
RepeatedField<string> Output { get; } namespace Value
string DocString { get; set; } A human-readable documentation for this node.
string Domain { get; set; } The domain of the OperatorSet that specifies the operator named by op_type.
string Name { get; set; } An optional identifier for this node in a graph.
string OpType { get; set; } The symbolic identifier of the Operator to execute.
string Overload { get; set; } Overload identifier, used only to map this to a model-local function.

Methods

Method Summary
NodeProto Clone()
bool Equals(NodeProto other)
bool Equals(object other)
int CalculateSize()
int GetHashCode()
string ToString()
void MergeFrom(CodedInputStream input)
void MergeFrom(NodeProto other)
void WriteTo(CodedOutputStream output)

Fields

Field Summary
int AttributeFieldNumber Field number for the “attribute” field.
int DocStringFieldNumber Field number for the “doc_string” field.
int DomainFieldNumber Field number for the “domain” field.
int InputFieldNumber Field number for the “input” field.
int MetadataPropsFieldNumber Field number for the “metadata_props” field.
int NameFieldNumber Field number for the “name” field.
int OpTypeFieldNumber Field number for the “op_type” field.
int OutputFieldNumber Field number for the “output” field.
int OverloadFieldNumber Field number for the “overload” field.