Package onnx
Class Onnx
- java.lang.Object
-
- onnx.Onnx
-
public final class Onnx extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Onnx.AttributeProto
Attributes A named attribute containing either singular float, integer, string, graph, and tensor values, or repeated float, integer, string, graph, and tensor values.static interface
Onnx.AttributeProtoOrBuilder
static class
Onnx.DenotationConstProto
A set of pre-defined constants to be used as values for the standard denotation field in TensorShapeProto.Dimension for semantic description of the tensor dimension.static interface
Onnx.DenotationConstProtoOrBuilder
static class
Onnx.GraphProto
Graphs A graph defines the computational logic of a model and is comprised of a parameterized list of nodes that form a directed acyclic graph based on their inputs and outputs.static interface
Onnx.GraphProtoOrBuilder
static class
Onnx.ModelProto
Models ModelProto is a top-level file/container format for bundling a ML model and associating its computation graph with metadata.static interface
Onnx.ModelProtoOrBuilder
static class
Onnx.NodeProto
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.static interface
Onnx.NodeProtoOrBuilder
static class
Onnx.OperatorSetIdProto
Operator Sets OperatorSets are uniquely identified by a (domain, opset_version) pair.static interface
Onnx.OperatorSetIdProtoOrBuilder
static class
Onnx.StringStringEntryProto
StringStringEntryProto follows the pattern for cross-proto-version maps.static interface
Onnx.StringStringEntryProtoOrBuilder
static class
Onnx.TensorProto
Tensors A serialized tensor value.static interface
Onnx.TensorProtoOrBuilder
static class
Onnx.TensorShapeProto
Defines a tensor shape.static interface
Onnx.TensorShapeProtoOrBuilder
static class
Onnx.TypeProto
Types The standard ONNX data types.static interface
Onnx.TypeProtoOrBuilder
static class
Onnx.ValueInfoProto
Defines information on value, including the name, the type, and the shape of the value.static interface
Onnx.ValueInfoProtoOrBuilder
static class
Onnx.Version
Versioning ONNX versioning is specified in docs/IR.md and elaborated on in docs/Versioning.md 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.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor()
static void
registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)
static void
registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)
-
-
-
Method Detail
-
registerAllExtensions
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)
-
registerAllExtensions
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)
-
getDescriptor
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor()
-
-