package onnx

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message AttributeProto

onnx.proto:86

A named attribute containing either singular float, integer, string and tensor values, or repeated float, integer, string and tensor values. An AttributeProto MUST contain the name field, and *only one* of the following content fields, effectively enforcing a C/C++ union equivalent.

Used in: NodeProto

enum AttributeProto.AttributeType

onnx.proto:90

Note: this enum is structurally identical to the OpSchema::AttrType enum defined in schema.h. If you rev one, you likely need to rev the other.

Used in: AttributeProto

message GraphProto

onnx.proto:232

GraphProto defines a parameterized series of nodes to form a directed acyclic graph. This is the equivalent of the "network" and "graph" in many deep learning frameworks.

Used in: AttributeProto, ModelProto

message ModelProto

onnx.proto:176

ModelProto is a top-level file/container format for bundling a ML model. The semantics of the model are described by the GraphProto that represents a parameterized computation graph against a set of named operators that are defined independently from the graph.

message NodeProto

onnx.proto:150

NodeProto stores a node that is similar to the notion of "layer" or "operator" in many deep 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.

Used in: GraphProto

message OperatorSetIdProto

onnx.proto:410

OperatorSets are uniquely identified by a (domain, opset_version) pair.

Used in: ModelProto

message StringStringEntryProto

onnx.proto:224

StringStringEntryProto follows the pattern for cross-proto-version maps. See https://developers.google.com/protocol-buffers/docs/proto3#maps

Used in: ModelProto

message TensorProto

onnx.proto:269

A message defined to store a tensor in its serialized format.

Used in: AttributeProto, GraphProto

enum TensorProto.DataType

onnx.proto:270

Used in: TensorProto, TypeProto.Tensor

message TensorProto.Segment

onnx.proto:302

For very large tensors, we may want to store them in chunks, in which case the following fields will specify the segment that is stored in the current TensorProto.

Used in: TensorProto

message TensorShapeProto

onnx.proto:381

Defines a tensor shape. A dimension can be either an integer value or a symbolic variable. A symbolic variable represents an unknown dimension.

Used in: TypeProto.Tensor

message TensorShapeProto.Dimension

onnx.proto:382

Used in: TensorShapeProto

message TypeProto

onnx.proto:392

Define the types.

Used in: ValueInfoProto

message TypeProto.Tensor

onnx.proto:394

Used in: TypeProto

message ValueInfoProto

onnx.proto:137

Defines information on value, including the name, the type, and the shape of the value.

Used in: GraphProto

enum Version

onnx.proto:58

To be compatible with both proto2 and proto3, we will use a version number that is not defined by the default value but an explicit enum number.