public static interface OnnxMl.AttributeProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDocString()
A human-readable documentation for this attribute.
|
com.google.protobuf.ByteString |
getDocStringBytes()
A human-readable documentation for this attribute.
|
float |
getF()
Exactly ONE of the following fields must be present for this version of the IR
|
float |
getFloats(int index)
list of floats
|
int |
getFloatsCount()
list of floats
|
java.util.List<java.lang.Float> |
getFloatsList()
list of floats
|
OnnxMl.GraphProto |
getG()
graph
|
OnnxMl.GraphProtoOrBuilder |
getGOrBuilder()
graph
|
OnnxMl.GraphProto |
getGraphs(int index)
list of graph
|
int |
getGraphsCount()
list of graph
|
java.util.List<OnnxMl.GraphProto> |
getGraphsList()
list of graph
|
OnnxMl.GraphProtoOrBuilder |
getGraphsOrBuilder(int index)
list of graph
|
java.util.List<? extends OnnxMl.GraphProtoOrBuilder> |
getGraphsOrBuilderList()
list of graph
|
long |
getI()
int
|
long |
getInts(int index)
list of ints
|
int |
getIntsCount()
list of ints
|
java.util.List<java.lang.Long> |
getIntsList()
list of ints
|
java.lang.String |
getName()
The name field MUST be present for this version of the IR.
|
com.google.protobuf.ByteString |
getNameBytes()
The name field MUST be present for this version of the IR.
|
java.lang.String |
getRefAttrName()
if ref_attr_name is not empty, ref_attr_name is the attribute name in parent function.
|
com.google.protobuf.ByteString |
getRefAttrNameBytes()
if ref_attr_name is not empty, ref_attr_name is the attribute name in parent function.
|
com.google.protobuf.ByteString |
getS()
UTF-8 string
|
OnnxMl.SparseTensorProto |
getSparseTensor()
sparse tensor value
|
OnnxMl.SparseTensorProtoOrBuilder |
getSparseTensorOrBuilder()
sparse tensor value
|
OnnxMl.SparseTensorProto |
getSparseTensors(int index)
list of sparse tensors
|
int |
getSparseTensorsCount()
list of sparse tensors
|
java.util.List<OnnxMl.SparseTensorProto> |
getSparseTensorsList()
list of sparse tensors
|
OnnxMl.SparseTensorProtoOrBuilder |
getSparseTensorsOrBuilder(int index)
list of sparse tensors
|
java.util.List<? extends OnnxMl.SparseTensorProtoOrBuilder> |
getSparseTensorsOrBuilderList()
list of sparse tensors
|
com.google.protobuf.ByteString |
getStrings(int index)
list of UTF-8 strings
|
int |
getStringsCount()
list of UTF-8 strings
|
java.util.List<com.google.protobuf.ByteString> |
getStringsList()
list of UTF-8 strings
|
OnnxMl.TensorProto |
getT()
tensor value
|
OnnxMl.TensorProto |
getTensors(int index)
list of tensors
|
int |
getTensorsCount()
list of tensors
|
java.util.List<OnnxMl.TensorProto> |
getTensorsList()
list of tensors
|
OnnxMl.TensorProtoOrBuilder |
getTensorsOrBuilder(int index)
list of tensors
|
java.util.List<? extends OnnxMl.TensorProtoOrBuilder> |
getTensorsOrBuilderList()
list of tensors
|
OnnxMl.TensorProtoOrBuilder |
getTOrBuilder()
tensor value
|
OnnxMl.AttributeProto.AttributeType |
getType()
The type field MUST be present for this version of the IR.
|
boolean |
hasDocString()
A human-readable documentation for this attribute.
|
boolean |
hasF()
Exactly ONE of the following fields must be present for this version of the IR
|
boolean |
hasG()
graph
|
boolean |
hasI()
int
|
boolean |
hasName()
The name field MUST be present for this version of the IR.
|
boolean |
hasRefAttrName()
if ref_attr_name is not empty, ref_attr_name is the attribute name in parent function.
|
boolean |
hasS()
UTF-8 string
|
boolean |
hasSparseTensor()
sparse tensor value
|
boolean |
hasT()
tensor value
|
boolean |
hasType()
The type field MUST be present for this version of the IR.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasName()
The name field MUST be present for this version of the IR.
optional string name = 1;java.lang.String getName()
The name field MUST be present for this version of the IR.
optional string name = 1;com.google.protobuf.ByteString getNameBytes()
The name field MUST be present for this version of the IR.
optional string name = 1;boolean hasRefAttrName()
if ref_attr_name is not empty, ref_attr_name is the attribute name in parent function. In this case, this AttributeProto does not contain data, and it's a reference of attribute in parent scope. NOTE: This should ONLY be used in function (sub-graph). It's invalid to be used in main graph.
optional string ref_attr_name = 21;java.lang.String getRefAttrName()
if ref_attr_name is not empty, ref_attr_name is the attribute name in parent function. In this case, this AttributeProto does not contain data, and it's a reference of attribute in parent scope. NOTE: This should ONLY be used in function (sub-graph). It's invalid to be used in main graph.
optional string ref_attr_name = 21;com.google.protobuf.ByteString getRefAttrNameBytes()
if ref_attr_name is not empty, ref_attr_name is the attribute name in parent function. In this case, this AttributeProto does not contain data, and it's a reference of attribute in parent scope. NOTE: This should ONLY be used in function (sub-graph). It's invalid to be used in main graph.
optional string ref_attr_name = 21;boolean hasDocString()
A human-readable documentation for this attribute. Markdown is allowed.
optional string doc_string = 13;java.lang.String getDocString()
A human-readable documentation for this attribute. Markdown is allowed.
optional string doc_string = 13;com.google.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this attribute. Markdown is allowed.
optional string doc_string = 13;boolean hasType()
The type field MUST be present for this version of the IR. For 0.0.1 versions of the IR, this field was not defined, and implementations needed to use has_field heuristics to determine which value field was in use. For IR_VERSION 0.0.2 or later, this field MUST be set and match the f|i|s|t|... field in use. This change was made to accommodate proto3 implementations.
optional .onnx.AttributeProto.AttributeType type = 20;OnnxMl.AttributeProto.AttributeType getType()
The type field MUST be present for this version of the IR. For 0.0.1 versions of the IR, this field was not defined, and implementations needed to use has_field heuristics to determine which value field was in use. For IR_VERSION 0.0.2 or later, this field MUST be set and match the f|i|s|t|... field in use. This change was made to accommodate proto3 implementations.
optional .onnx.AttributeProto.AttributeType type = 20;boolean hasF()
Exactly ONE of the following fields must be present for this version of the IR
optional float f = 2;float getF()
Exactly ONE of the following fields must be present for this version of the IR
optional float f = 2;boolean hasI()
int
optional int64 i = 3;long getI()
int
optional int64 i = 3;boolean hasS()
UTF-8 string
optional bytes s = 4;com.google.protobuf.ByteString getS()
UTF-8 string
optional bytes s = 4;boolean hasT()
tensor value
optional .onnx.TensorProto t = 5;OnnxMl.TensorProto getT()
tensor value
optional .onnx.TensorProto t = 5;OnnxMl.TensorProtoOrBuilder getTOrBuilder()
tensor value
optional .onnx.TensorProto t = 5;boolean hasG()
graph
optional .onnx.GraphProto g = 6;OnnxMl.GraphProto getG()
graph
optional .onnx.GraphProto g = 6;OnnxMl.GraphProtoOrBuilder getGOrBuilder()
graph
optional .onnx.GraphProto g = 6;boolean hasSparseTensor()
sparse tensor value
optional .onnx.SparseTensorProto sparse_tensor = 22;OnnxMl.SparseTensorProto getSparseTensor()
sparse tensor value
optional .onnx.SparseTensorProto sparse_tensor = 22;OnnxMl.SparseTensorProtoOrBuilder getSparseTensorOrBuilder()
sparse tensor value
optional .onnx.SparseTensorProto sparse_tensor = 22;java.util.List<java.lang.Float> getFloatsList()
list of floats
repeated float floats = 7;int getFloatsCount()
list of floats
repeated float floats = 7;float getFloats(int index)
list of floats
repeated float floats = 7;index - The index of the element to return.java.util.List<java.lang.Long> getIntsList()
list of ints
repeated int64 ints = 8;int getIntsCount()
list of ints
repeated int64 ints = 8;long getInts(int index)
list of ints
repeated int64 ints = 8;index - The index of the element to return.java.util.List<com.google.protobuf.ByteString> getStringsList()
list of UTF-8 strings
repeated bytes strings = 9;int getStringsCount()
list of UTF-8 strings
repeated bytes strings = 9;com.google.protobuf.ByteString getStrings(int index)
list of UTF-8 strings
repeated bytes strings = 9;index - The index of the element to return.java.util.List<OnnxMl.TensorProto> getTensorsList()
list of tensors
repeated .onnx.TensorProto tensors = 10;OnnxMl.TensorProto getTensors(int index)
list of tensors
repeated .onnx.TensorProto tensors = 10;int getTensorsCount()
list of tensors
repeated .onnx.TensorProto tensors = 10;java.util.List<? extends OnnxMl.TensorProtoOrBuilder> getTensorsOrBuilderList()
list of tensors
repeated .onnx.TensorProto tensors = 10;OnnxMl.TensorProtoOrBuilder getTensorsOrBuilder(int index)
list of tensors
repeated .onnx.TensorProto tensors = 10;java.util.List<OnnxMl.GraphProto> getGraphsList()
list of graph
repeated .onnx.GraphProto graphs = 11;OnnxMl.GraphProto getGraphs(int index)
list of graph
repeated .onnx.GraphProto graphs = 11;int getGraphsCount()
list of graph
repeated .onnx.GraphProto graphs = 11;java.util.List<? extends OnnxMl.GraphProtoOrBuilder> getGraphsOrBuilderList()
list of graph
repeated .onnx.GraphProto graphs = 11;OnnxMl.GraphProtoOrBuilder getGraphsOrBuilder(int index)
list of graph
repeated .onnx.GraphProto graphs = 11;java.util.List<OnnxMl.SparseTensorProto> getSparseTensorsList()
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;OnnxMl.SparseTensorProto getSparseTensors(int index)
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;int getSparseTensorsCount()
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;java.util.List<? extends OnnxMl.SparseTensorProtoOrBuilder> getSparseTensorsOrBuilderList()
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;OnnxMl.SparseTensorProtoOrBuilder getSparseTensorsOrBuilder(int index)
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;