public static interface OnnxProto3.AttributeProtoOrBuilder
extends com.github.os72.protobuf351.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getDocString()
A human-readable documentation for this attribute.
|
com.github.os72.protobuf351.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
|
List<Float> |
getFloatsList()
list of floats
|
OnnxProto3.GraphProto |
getG()
graph
|
OnnxProto3.GraphProtoOrBuilder |
getGOrBuilder()
graph
|
OnnxProto3.GraphProto |
getGraphs(int index)
list of graph
|
int |
getGraphsCount()
list of graph
|
List<OnnxProto3.GraphProto> |
getGraphsList()
list of graph
|
OnnxProto3.GraphProtoOrBuilder |
getGraphsOrBuilder(int index)
list of graph
|
List<? extends OnnxProto3.GraphProtoOrBuilder> |
getGraphsOrBuilderList()
list of graph
|
long |
getI()
int
|
long |
getInts(int index)
list of ints
|
int |
getIntsCount()
list of ints
|
List<Long> |
getIntsList()
list of ints
|
String |
getName()
The name field MUST be present for this version of the IR.
|
com.github.os72.protobuf351.ByteString |
getNameBytes()
The name field MUST be present for this version of the IR.
|
com.github.os72.protobuf351.ByteString |
getS()
UTF-8 string
|
com.github.os72.protobuf351.ByteString |
getStrings(int index)
list of UTF-8 strings
|
int |
getStringsCount()
list of UTF-8 strings
|
List<com.github.os72.protobuf351.ByteString> |
getStringsList()
list of UTF-8 strings
|
OnnxProto3.TensorProto |
getT()
tensor value
|
OnnxProto3.TensorProto |
getTensors(int index)
list of tensors
|
int |
getTensorsCount()
list of tensors
|
List<OnnxProto3.TensorProto> |
getTensorsList()
list of tensors
|
OnnxProto3.TensorProtoOrBuilder |
getTensorsOrBuilder(int index)
list of tensors
|
List<? extends OnnxProto3.TensorProtoOrBuilder> |
getTensorsOrBuilderList()
list of tensors
|
OnnxProto3.TensorProtoOrBuilder |
getTOrBuilder()
tensor value
|
OnnxProto3.AttributeProto.AttributeType |
getType()
The type field MUST be present for this version of the IR.
|
int |
getTypeValue()
The type field MUST be present for this version of the IR.
|
boolean |
hasG()
graph
|
boolean |
hasT()
tensor value
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
String getName()
The name field MUST be present for this version of the IR.
string name = 1;
com.github.os72.protobuf351.ByteString getNameBytes()
The name field MUST be present for this version of the IR.
string name = 1;
String getDocString()
A human-readable documentation for this attribute. Markdown is allowed.
string doc_string = 13;
com.github.os72.protobuf351.ByteString getDocStringBytes()
A human-readable documentation for this attribute. Markdown is allowed.
string doc_string = 13;
int getTypeValue()
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 hueristics 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 accomodate proto3 implementations.
.onnx.AttributeProto.AttributeType type = 20;
OnnxProto3.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 hueristics 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 accomodate proto3 implementations.
.onnx.AttributeProto.AttributeType type = 20;
float getF()
Exactly ONE of the following fields must be present for this version of the IR
float f = 2;
long getI()
int
int64 i = 3;
com.github.os72.protobuf351.ByteString getS()
UTF-8 string
bytes s = 4;
boolean hasT()
tensor value
.onnx.TensorProto t = 5;
OnnxProto3.TensorProto getT()
tensor value
.onnx.TensorProto t = 5;
OnnxProto3.TensorProtoOrBuilder getTOrBuilder()
tensor value
.onnx.TensorProto t = 5;
boolean hasG()
graph
.onnx.GraphProto g = 6;
OnnxProto3.GraphProto getG()
graph
.onnx.GraphProto g = 6;
OnnxProto3.GraphProtoOrBuilder getGOrBuilder()
graph
.onnx.GraphProto g = 6;
int getFloatsCount()
list of floats
repeated float floats = 7;
float getFloats(int index)
list of floats
repeated float floats = 7;
int getIntsCount()
list of ints
repeated int64 ints = 8;
long getInts(int index)
list of ints
repeated int64 ints = 8;
List<com.github.os72.protobuf351.ByteString> getStringsList()
list of UTF-8 strings
repeated bytes strings = 9;
int getStringsCount()
list of UTF-8 strings
repeated bytes strings = 9;
com.github.os72.protobuf351.ByteString getStrings(int index)
list of UTF-8 strings
repeated bytes strings = 9;
List<OnnxProto3.TensorProto> getTensorsList()
list of tensors
repeated .onnx.TensorProto tensors = 10;
OnnxProto3.TensorProto getTensors(int index)
list of tensors
repeated .onnx.TensorProto tensors = 10;
int getTensorsCount()
list of tensors
repeated .onnx.TensorProto tensors = 10;
List<? extends OnnxProto3.TensorProtoOrBuilder> getTensorsOrBuilderList()
list of tensors
repeated .onnx.TensorProto tensors = 10;
OnnxProto3.TensorProtoOrBuilder getTensorsOrBuilder(int index)
list of tensors
repeated .onnx.TensorProto tensors = 10;
List<OnnxProto3.GraphProto> getGraphsList()
list of graph
repeated .onnx.GraphProto graphs = 11;
OnnxProto3.GraphProto getGraphs(int index)
list of graph
repeated .onnx.GraphProto graphs = 11;
int getGraphsCount()
list of graph
repeated .onnx.GraphProto graphs = 11;
List<? extends OnnxProto3.GraphProtoOrBuilder> getGraphsOrBuilderList()
list of graph
repeated .onnx.GraphProto graphs = 11;
OnnxProto3.GraphProtoOrBuilder getGraphsOrBuilder(int index)
list of graph
repeated .onnx.GraphProto graphs = 11;
Copyright © 2018. All rights reserved.