public static interface OnnxMl.GraphProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDocString()
A human-readable documentation for this graph.
|
com.google.protobuf.ByteString |
getDocStringBytes()
A human-readable documentation for this graph.
|
OnnxMl.TensorProto |
getInitializer(int index)
A list of named tensor values, used to specify constant inputs of the graph.
|
int |
getInitializerCount()
A list of named tensor values, used to specify constant inputs of the graph.
|
java.util.List<OnnxMl.TensorProto> |
getInitializerList()
A list of named tensor values, used to specify constant inputs of the graph.
|
OnnxMl.TensorProtoOrBuilder |
getInitializerOrBuilder(int index)
A list of named tensor values, used to specify constant inputs of the graph.
|
java.util.List<? extends OnnxMl.TensorProtoOrBuilder> |
getInitializerOrBuilderList()
A list of named tensor values, used to specify constant inputs of the graph.
|
OnnxMl.ValueInfoProto |
getInput(int index)
The inputs and outputs of the graph.
|
int |
getInputCount()
The inputs and outputs of the graph.
|
java.util.List<OnnxMl.ValueInfoProto> |
getInputList()
The inputs and outputs of the graph.
|
OnnxMl.ValueInfoProtoOrBuilder |
getInputOrBuilder(int index)
The inputs and outputs of the graph.
|
java.util.List<? extends OnnxMl.ValueInfoProtoOrBuilder> |
getInputOrBuilderList()
The inputs and outputs of the graph.
|
java.lang.String |
getName()
The name of the graph.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the graph.
|
OnnxMl.NodeProto |
getNode(int index)
The nodes in the graph, sorted topologically.
|
int |
getNodeCount()
The nodes in the graph, sorted topologically.
|
java.util.List<OnnxMl.NodeProto> |
getNodeList()
The nodes in the graph, sorted topologically.
|
OnnxMl.NodeProtoOrBuilder |
getNodeOrBuilder(int index)
The nodes in the graph, sorted topologically.
|
java.util.List<? extends OnnxMl.NodeProtoOrBuilder> |
getNodeOrBuilderList()
The nodes in the graph, sorted topologically.
|
OnnxMl.ValueInfoProto |
getOutput(int index)
repeated .onnx.ValueInfoProto output = 12; |
int |
getOutputCount()
repeated .onnx.ValueInfoProto output = 12; |
java.util.List<OnnxMl.ValueInfoProto> |
getOutputList()
repeated .onnx.ValueInfoProto output = 12; |
OnnxMl.ValueInfoProtoOrBuilder |
getOutputOrBuilder(int index)
repeated .onnx.ValueInfoProto output = 12; |
java.util.List<? extends OnnxMl.ValueInfoProtoOrBuilder> |
getOutputOrBuilderList()
repeated .onnx.ValueInfoProto output = 12; |
OnnxMl.TensorAnnotation |
getQuantizationAnnotation(int index)
This field carries information to indicate the mapping among a tensor and its
quantization parameter tensors.
|
int |
getQuantizationAnnotationCount()
This field carries information to indicate the mapping among a tensor and its
quantization parameter tensors.
|
java.util.List<OnnxMl.TensorAnnotation> |
getQuantizationAnnotationList()
This field carries information to indicate the mapping among a tensor and its
quantization parameter tensors.
|
OnnxMl.TensorAnnotationOrBuilder |
getQuantizationAnnotationOrBuilder(int index)
This field carries information to indicate the mapping among a tensor and its
quantization parameter tensors.
|
java.util.List<? extends OnnxMl.TensorAnnotationOrBuilder> |
getQuantizationAnnotationOrBuilderList()
This field carries information to indicate the mapping among a tensor and its
quantization parameter tensors.
|
OnnxMl.SparseTensorProto |
getSparseInitializer(int index)
Initializers (see above) stored in sparse format.
|
int |
getSparseInitializerCount()
Initializers (see above) stored in sparse format.
|
java.util.List<OnnxMl.SparseTensorProto> |
getSparseInitializerList()
Initializers (see above) stored in sparse format.
|
OnnxMl.SparseTensorProtoOrBuilder |
getSparseInitializerOrBuilder(int index)
Initializers (see above) stored in sparse format.
|
java.util.List<? extends OnnxMl.SparseTensorProtoOrBuilder> |
getSparseInitializerOrBuilderList()
Initializers (see above) stored in sparse format.
|
OnnxMl.ValueInfoProto |
getValueInfo(int index)
Information for the values in the graph.
|
int |
getValueInfoCount()
Information for the values in the graph.
|
java.util.List<OnnxMl.ValueInfoProto> |
getValueInfoList()
Information for the values in the graph.
|
OnnxMl.ValueInfoProtoOrBuilder |
getValueInfoOrBuilder(int index)
Information for the values in the graph.
|
java.util.List<? extends OnnxMl.ValueInfoProtoOrBuilder> |
getValueInfoOrBuilderList()
Information for the values in the graph.
|
boolean |
hasDocString()
A human-readable documentation for this graph.
|
boolean |
hasName()
The name of the graph.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofjava.util.List<OnnxMl.NodeProto> getNodeList()
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;OnnxMl.NodeProto getNode(int index)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;int getNodeCount()
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;java.util.List<? extends OnnxMl.NodeProtoOrBuilder> getNodeOrBuilderList()
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;OnnxMl.NodeProtoOrBuilder getNodeOrBuilder(int index)
The nodes in the graph, sorted topologically.
repeated .onnx.NodeProto node = 1;boolean hasName()
The name of the graph.
optional string name = 2;java.lang.String getName()
The name of the graph.
optional string name = 2;com.google.protobuf.ByteString getNameBytes()
The name of the graph.
optional string name = 2;java.util.List<OnnxMl.TensorProto> 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;OnnxMl.TensorProto getInitializer(int index)
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;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;java.util.List<? extends OnnxMl.TensorProtoOrBuilder> 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;OnnxMl.TensorProtoOrBuilder getInitializerOrBuilder(int index)
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;java.util.List<OnnxMl.SparseTensorProto> getSparseInitializerList()
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;OnnxMl.SparseTensorProto getSparseInitializer(int index)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;int getSparseInitializerCount()
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;java.util.List<? extends OnnxMl.SparseTensorProtoOrBuilder> getSparseInitializerOrBuilderList()
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;OnnxMl.SparseTensorProtoOrBuilder getSparseInitializerOrBuilder(int index)
Initializers (see above) stored in sparse format.
repeated .onnx.SparseTensorProto sparse_initializer = 15;boolean hasDocString()
A human-readable documentation for this graph. Markdown is allowed.
optional string doc_string = 10;java.lang.String getDocString()
A human-readable documentation for this graph. Markdown is allowed.
optional string doc_string = 10;com.google.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this graph. Markdown is allowed.
optional string doc_string = 10;java.util.List<OnnxMl.ValueInfoProto> getInputList()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;OnnxMl.ValueInfoProto getInput(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;int getInputCount()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;java.util.List<? extends OnnxMl.ValueInfoProtoOrBuilder> getInputOrBuilderList()
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;OnnxMl.ValueInfoProtoOrBuilder getInputOrBuilder(int index)
The inputs and outputs of the graph.
repeated .onnx.ValueInfoProto input = 11;java.util.List<OnnxMl.ValueInfoProto> getOutputList()
repeated .onnx.ValueInfoProto output = 12;OnnxMl.ValueInfoProto getOutput(int index)
repeated .onnx.ValueInfoProto output = 12;int getOutputCount()
repeated .onnx.ValueInfoProto output = 12;java.util.List<? extends OnnxMl.ValueInfoProtoOrBuilder> getOutputOrBuilderList()
repeated .onnx.ValueInfoProto output = 12;OnnxMl.ValueInfoProtoOrBuilder getOutputOrBuilder(int index)
repeated .onnx.ValueInfoProto output = 12;java.util.List<OnnxMl.ValueInfoProto> 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;OnnxMl.ValueInfoProto getValueInfo(int index)
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;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;java.util.List<? extends OnnxMl.ValueInfoProtoOrBuilder> 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;OnnxMl.ValueInfoProtoOrBuilder getValueInfoOrBuilder(int index)
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;java.util.List<OnnxMl.TensorAnnotation> 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;OnnxMl.TensorAnnotation getQuantizationAnnotation(int index)
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;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;java.util.List<? extends OnnxMl.TensorAnnotationOrBuilder> 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;OnnxMl.TensorAnnotationOrBuilder getQuantizationAnnotationOrBuilder(int index)
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;