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 classOnnx.AttributeProtoAttributes A named attribute containing either singular float, integer, string, graph, and tensor values, or repeated float, integer, string, graph, and tensor values.static interfaceOnnx.AttributeProtoOrBuilderstatic classOnnx.FunctionProtoProtobuf typeonnx.FunctionProtostatic interfaceOnnx.FunctionProtoOrBuilderstatic classOnnx.GraphProtoGraphs 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 interfaceOnnx.GraphProtoOrBuilderstatic classOnnx.ModelProtoModels ModelProto is a top-level file/container format for bundling a ML model and associating its computation graph with metadata.static interfaceOnnx.ModelProtoOrBuilderstatic classOnnx.NodeProtoNodes 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 interfaceOnnx.NodeProtoOrBuilderstatic classOnnx.OperatorSetIdProtoOperator Sets OperatorSets are uniquely identified by a (domain, opset_version) pair.static interfaceOnnx.OperatorSetIdProtoOrBuilderstatic classOnnx.OperatorStatusOperator/function status.static classOnnx.SparseTensorProtoA serialized sparse-tensor valuestatic interfaceOnnx.SparseTensorProtoOrBuilderstatic classOnnx.StringStringEntryProtoStringStringEntryProto follows the pattern for cross-proto-version maps.static interfaceOnnx.StringStringEntryProtoOrBuilderstatic classOnnx.TensorAnnotationProtobuf typeonnx.TensorAnnotationstatic interfaceOnnx.TensorAnnotationOrBuilderstatic classOnnx.TensorProtoTensors A serialized tensor value.static interfaceOnnx.TensorProtoOrBuilderstatic classOnnx.TensorShapeProtoDefines a tensor shape.static interfaceOnnx.TensorShapeProtoOrBuilderstatic classOnnx.TrainingInfoProtoTraining information TrainingInfoProto stores information for training a model.static interfaceOnnx.TrainingInfoProtoOrBuilderstatic classOnnx.TypeProtoTypes The standard ONNX data types.static interfaceOnnx.TypeProtoOrBuilderstatic classOnnx.ValueInfoProtoDefines information on value, including the name, the type, and the shape of the value.static interfaceOnnx.ValueInfoProtoOrBuilderstatic classOnnx.VersionVersioning 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 org.nd4j.shade.protobuf.Descriptors.FileDescriptorgetDescriptor()static voidregisterAllExtensions(org.nd4j.shade.protobuf.ExtensionRegistry registry)static voidregisterAllExtensions(org.nd4j.shade.protobuf.ExtensionRegistryLite registry)
-
-
-
Method Detail
-
registerAllExtensions
public static void registerAllExtensions(org.nd4j.shade.protobuf.ExtensionRegistryLite registry)
-
registerAllExtensions
public static void registerAllExtensions(org.nd4j.shade.protobuf.ExtensionRegistry registry)
-
getDescriptor
public static org.nd4j.shade.protobuf.Descriptors.FileDescriptor getDescriptor()
-
-