Package onnx
Class Onnx.GraphProto
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
onnx.Onnx.GraphProto
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Onnx.GraphProtoOrBuilder
- Enclosing class:
- Onnx
public static final class Onnx.GraphProto
extends com.google.protobuf.GeneratedMessageV3
implements Onnx.GraphProtoOrBuilder
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. This is the equivalent of the "network" or "graph" in many deep learning frameworks.Protobuf type
onnx.GraphProto- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classGraphs 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.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<Onnx.GraphProto>Deprecated.static final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Onnx.GraphProtostatic final com.google.protobuf.Descriptors.DescriptorA human-readable documentation for this graph.com.google.protobuf.ByteStringA human-readable documentation for this graph.getInitializer(int index) A list of named tensor values, used to specify constant inputs of the graph.intA list of named tensor values, used to specify constant inputs of the graph.A list of named tensor values, used to specify constant inputs of the graph.getInitializerOrBuilder(int index) A list of named tensor values, used to specify constant inputs of the graph.List<? extends Onnx.TensorProtoOrBuilder>A list of named tensor values, used to specify constant inputs of the graph.getInput(int index) The inputs and outputs of the graph.intThe inputs and outputs of the graph.The inputs and outputs of the graph.getInputOrBuilder(int index) The inputs and outputs of the graph.List<? extends Onnx.ValueInfoProtoOrBuilder>The inputs and outputs of the graph.getName()The name of the graph.com.google.protobuf.ByteStringThe name of the graph.getNode(int index) The nodes in the graph, sorted topologically.intThe nodes in the graph, sorted topologically.The nodes in the graph, sorted topologically.getNodeOrBuilder(int index) The nodes in the graph, sorted topologically.List<? extends Onnx.NodeProtoOrBuilder>The nodes in the graph, sorted topologically.getOutput(int index) repeated .onnx.ValueInfoProto output = 12;intrepeated .onnx.ValueInfoProto output = 12;repeated .onnx.ValueInfoProto output = 12;getOutputOrBuilder(int index) repeated .onnx.ValueInfoProto output = 12;List<? extends Onnx.ValueInfoProtoOrBuilder>repeated .onnx.ValueInfoProto output = 12;com.google.protobuf.Parser<Onnx.GraphProto>getQuantizationAnnotation(int index) This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.intThis field carries information to indicate the mapping among a tensor and its quantization parameter tensors.This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.getQuantizationAnnotationOrBuilder(int index) This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.List<? extends Onnx.TensorAnnotationOrBuilder>This field carries information to indicate the mapping among a tensor and its quantization parameter tensors.intgetSparseInitializer(int index) Initializers (see above) stored in sparse format.intInitializers (see above) stored in sparse format.Initializers (see above) stored in sparse format.getSparseInitializerOrBuilder(int index) Initializers (see above) stored in sparse format.List<? extends Onnx.SparseTensorProtoOrBuilder>Initializers (see above) stored in sparse format.getValueInfo(int index) Information for the values in the graph.intInformation for the values in the graph.Information for the values in the graph.getValueInfoOrBuilder(int index) Information for the values in the graph.List<? extends Onnx.ValueInfoProtoOrBuilder>Information for the values in the graph.booleanA human-readable documentation for this graph.inthashCode()booleanhasName()The name of the graph.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Onnx.GraphProto.Builderstatic Onnx.GraphProto.BuildernewBuilder(Onnx.GraphProto prototype) protected Onnx.GraphProto.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Onnx.GraphProtoparseDelimitedFrom(InputStream input) static Onnx.GraphProtoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Onnx.GraphProtoparseFrom(byte[] data) static Onnx.GraphProtoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Onnx.GraphProtoparseFrom(com.google.protobuf.ByteString data) static Onnx.GraphProtoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Onnx.GraphProtoparseFrom(com.google.protobuf.CodedInputStream input) static Onnx.GraphProtoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Onnx.GraphProtoparseFrom(InputStream input) static Onnx.GraphProtoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Onnx.GraphProtoparseFrom(ByteBuffer data) static Onnx.GraphProtoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Onnx.GraphProto>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NODE_FIELD_NUMBER
public static final int NODE_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
INITIALIZER_FIELD_NUMBER
public static final int INITIALIZER_FIELD_NUMBER- See Also:
-
SPARSE_INITIALIZER_FIELD_NUMBER
public static final int SPARSE_INITIALIZER_FIELD_NUMBER- See Also:
-
DOC_STRING_FIELD_NUMBER
public static final int DOC_STRING_FIELD_NUMBER- See Also:
-
INPUT_FIELD_NUMBER
public static final int INPUT_FIELD_NUMBER- See Also:
-
OUTPUT_FIELD_NUMBER
public static final int OUTPUT_FIELD_NUMBER- See Also:
-
VALUE_INFO_FIELD_NUMBER
public static final int VALUE_INFO_FIELD_NUMBER- See Also:
-
QUANTIZATION_ANNOTATION_FIELD_NUMBER
public static final int QUANTIZATION_ANNOTATION_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getNodeList
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;- Specified by:
getNodeListin interfaceOnnx.GraphProtoOrBuilder
-
getNodeOrBuilderList
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;- Specified by:
getNodeOrBuilderListin interfaceOnnx.GraphProtoOrBuilder
-
getNodeCount
public int getNodeCount()The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;- Specified by:
getNodeCountin interfaceOnnx.GraphProtoOrBuilder
-
getNode
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;- Specified by:
getNodein interfaceOnnx.GraphProtoOrBuilder
-
getNodeOrBuilder
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;- Specified by:
getNodeOrBuilderin interfaceOnnx.GraphProtoOrBuilder
-
hasName
public boolean hasName()The name of the graph.
optional string name = 2;- Specified by:
hasNamein interfaceOnnx.GraphProtoOrBuilder- Returns:
- Whether the name field is set.
-
getName
The name of the graph.
optional string name = 2;- Specified by:
getNamein interfaceOnnx.GraphProtoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of the graph.
optional string name = 2;- Specified by:
getNameBytesin interfaceOnnx.GraphProtoOrBuilder- Returns:
- The bytes for name.
-
getInitializerList
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;- Specified by:
getInitializerListin interfaceOnnx.GraphProtoOrBuilder
-
getInitializerOrBuilderList
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;- Specified by:
getInitializerOrBuilderListin interfaceOnnx.GraphProtoOrBuilder
-
getInitializerCount
public int getInitializerCount()A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;- Specified by:
getInitializerCountin interfaceOnnx.GraphProtoOrBuilder
-
getInitializer
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;- Specified by:
getInitializerin interfaceOnnx.GraphProtoOrBuilder
-
getInitializerOrBuilder
A list of named tensor values, used to specify constant inputs of the graph. Each initializer (both TensorProto as well SparseTensorProto) MUST have a name. The name MUST be unique across both initializer and sparse_initializer, but the name MAY also appear in the input list.
repeated .onnx.TensorProto initializer = 5;- Specified by:
getInitializerOrBuilderin interfaceOnnx.GraphProtoOrBuilder
-
getSparseInitializerList
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;- Specified by:
getSparseInitializerListin interfaceOnnx.GraphProtoOrBuilder
-
getSparseInitializerOrBuilderList
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;- Specified by:
getSparseInitializerOrBuilderListin interfaceOnnx.GraphProtoOrBuilder
-
getSparseInitializerCount
public int getSparseInitializerCount()Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;- Specified by:
getSparseInitializerCountin interfaceOnnx.GraphProtoOrBuilder
-
getSparseInitializer
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;- Specified by:
getSparseInitializerin interfaceOnnx.GraphProtoOrBuilder
-
getSparseInitializerOrBuilder
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;- Specified by:
getSparseInitializerOrBuilderin interfaceOnnx.GraphProtoOrBuilder
-
hasDocString
public boolean hasDocString()A human-readable documentation for this graph. Markdown is allowed.
optional string doc_string = 10;- Specified by:
hasDocStringin interfaceOnnx.GraphProtoOrBuilder- Returns:
- Whether the docString field is set.
-
getDocString
A human-readable documentation for this graph. Markdown is allowed.
optional string doc_string = 10;- Specified by:
getDocStringin interfaceOnnx.GraphProtoOrBuilder- Returns:
- The docString.
-
getDocStringBytes
public com.google.protobuf.ByteString getDocStringBytes()A human-readable documentation for this graph. Markdown is allowed.
optional string doc_string = 10;- Specified by:
getDocStringBytesin interfaceOnnx.GraphProtoOrBuilder- Returns:
- The bytes for docString.
-
getInputList
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;- Specified by:
getInputListin interfaceOnnx.GraphProtoOrBuilder
-
getInputOrBuilderList
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;- Specified by:
getInputOrBuilderListin interfaceOnnx.GraphProtoOrBuilder
-
getInputCount
public int getInputCount()The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;- Specified by:
getInputCountin interfaceOnnx.GraphProtoOrBuilder
-
getInput
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;- Specified by:
getInputin interfaceOnnx.GraphProtoOrBuilder
-
getInputOrBuilder
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;- Specified by:
getInputOrBuilderin interfaceOnnx.GraphProtoOrBuilder
-
getOutputList
repeated .onnx.ValueInfoProto output = 12;- Specified by:
getOutputListin interfaceOnnx.GraphProtoOrBuilder
-
getOutputOrBuilderList
repeated .onnx.ValueInfoProto output = 12;- Specified by:
getOutputOrBuilderListin interfaceOnnx.GraphProtoOrBuilder
-
getOutputCount
public int getOutputCount()repeated .onnx.ValueInfoProto output = 12;- Specified by:
getOutputCountin interfaceOnnx.GraphProtoOrBuilder
-
getOutput
repeated .onnx.ValueInfoProto output = 12;- Specified by:
getOutputin interfaceOnnx.GraphProtoOrBuilder
-
getOutputOrBuilder
repeated .onnx.ValueInfoProto output = 12;- Specified by:
getOutputOrBuilderin interfaceOnnx.GraphProtoOrBuilder
-
getValueInfoList
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;- Specified by:
getValueInfoListin interfaceOnnx.GraphProtoOrBuilder
-
getValueInfoOrBuilderList
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;- Specified by:
getValueInfoOrBuilderListin interfaceOnnx.GraphProtoOrBuilder
-
getValueInfoCount
public int getValueInfoCount()Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;- Specified by:
getValueInfoCountin interfaceOnnx.GraphProtoOrBuilder
-
getValueInfo
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;- Specified by:
getValueInfoin interfaceOnnx.GraphProtoOrBuilder
-
getValueInfoOrBuilder
Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.
repeated .onnx.ValueInfoProto value_info = 13;- Specified by:
getValueInfoOrBuilderin interfaceOnnx.GraphProtoOrBuilder
-
getQuantizationAnnotationList
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.repeated .onnx.TensorAnnotation quantization_annotation = 14;- Specified by:
getQuantizationAnnotationListin interfaceOnnx.GraphProtoOrBuilder
-
getQuantizationAnnotationOrBuilderList
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.repeated .onnx.TensorAnnotation quantization_annotation = 14;- Specified by:
getQuantizationAnnotationOrBuilderListin interfaceOnnx.GraphProtoOrBuilder
-
getQuantizationAnnotationCount
public int getQuantizationAnnotationCount()This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.repeated .onnx.TensorAnnotation quantization_annotation = 14;- Specified by:
getQuantizationAnnotationCountin interfaceOnnx.GraphProtoOrBuilder
-
getQuantizationAnnotation
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.repeated .onnx.TensorAnnotation quantization_annotation = 14;- Specified by:
getQuantizationAnnotationin interfaceOnnx.GraphProtoOrBuilder
-
getQuantizationAnnotationOrBuilder
This field carries information to indicate the mapping among a tensor and its quantization parameter tensors. For example: For tensor 'a', it may have {'SCALE_TENSOR', 'a_scale'} and {'ZERO_POINT_TENSOR', 'a_zero_point'} annotated, which means, tensor 'a_scale' and tensor 'a_zero_point' are scale and zero point of tensor 'a' in the model.repeated .onnx.TensorAnnotation quantization_annotation = 14;- Specified by:
getQuantizationAnnotationOrBuilderin interfaceOnnx.GraphProtoOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Onnx.GraphProto parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Onnx.GraphProto parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Onnx.GraphProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Onnx.GraphProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Onnx.GraphProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Onnx.GraphProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Onnx.GraphProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Onnx.GraphProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Onnx.GraphProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Onnx.GraphProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Onnx.GraphProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-