Package org.tensorflow.framework
Interface AttrValue.ListValueOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AttrValue.ListValue,AttrValue.ListValue.Builder
- Enclosing class:
- AttrValue
public static interface AttrValue.ListValueOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetB(int index)"list(bool)"intgetBCount()"list(bool)"java.util.List<java.lang.Boolean>getBList()"list(bool)"floatgetF(int index)"list(float)"intgetFCount()"list(float)"java.util.List<java.lang.Float>getFList()"list(float)"NameAttrListgetFunc(int index)"list(attr)"intgetFuncCount()"list(attr)"java.util.List<NameAttrList>getFuncList()"list(attr)"NameAttrListOrBuildergetFuncOrBuilder(int index)"list(attr)"java.util.List<? extends NameAttrListOrBuilder>getFuncOrBuilderList()"list(attr)"longgetI(int index)"list(int)"intgetICount()"list(int)"java.util.List<java.lang.Long>getIList()"list(int)"com.google.protobuf.ByteStringgetS(int index)"list(string)"intgetSCount()"list(string)"TensorShapeProtogetShape(int index)"list(shape)"intgetShapeCount()"list(shape)"java.util.List<TensorShapeProto>getShapeList()"list(shape)"TensorShapeProtoOrBuildergetShapeOrBuilder(int index)"list(shape)"java.util.List<? extends TensorShapeProtoOrBuilder>getShapeOrBuilderList()"list(shape)"java.util.List<com.google.protobuf.ByteString>getSList()"list(string)"TensorProtogetTensor(int index)"list(tensor)"intgetTensorCount()"list(tensor)"java.util.List<TensorProto>getTensorList()"list(tensor)"TensorProtoOrBuildergetTensorOrBuilder(int index)"list(tensor)"java.util.List<? extends TensorProtoOrBuilder>getTensorOrBuilderList()"list(tensor)"DataTypegetType(int index)"list(type)"intgetTypeCount()"list(type)"java.util.List<DataType>getTypeList()"list(type)"intgetTypeValue(int index)"list(type)"java.util.List<java.lang.Integer>getTypeValueList()"list(type)"-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSList
java.util.List<com.google.protobuf.ByteString> getSList()
"list(string)"
repeated bytes s = 2;- Returns:
- A list containing the s.
-
getSCount
int getSCount()
"list(string)"
repeated bytes s = 2;- Returns:
- The count of s.
-
getS
com.google.protobuf.ByteString getS(int index)
"list(string)"
repeated bytes s = 2;- Parameters:
index- The index of the element to return.- Returns:
- The s at the given index.
-
getIList
java.util.List<java.lang.Long> getIList()
"list(int)"
repeated int64 i = 3 [packed = true];- Returns:
- A list containing the i.
-
getICount
int getICount()
"list(int)"
repeated int64 i = 3 [packed = true];- Returns:
- The count of i.
-
getI
long getI(int index)
"list(int)"
repeated int64 i = 3 [packed = true];- Parameters:
index- The index of the element to return.- Returns:
- The i at the given index.
-
getFList
java.util.List<java.lang.Float> getFList()
"list(float)"
repeated float f = 4 [packed = true];- Returns:
- A list containing the f.
-
getFCount
int getFCount()
"list(float)"
repeated float f = 4 [packed = true];- Returns:
- The count of f.
-
getF
float getF(int index)
"list(float)"
repeated float f = 4 [packed = true];- Parameters:
index- The index of the element to return.- Returns:
- The f at the given index.
-
getBList
java.util.List<java.lang.Boolean> getBList()
"list(bool)"
repeated bool b = 5 [packed = true];- Returns:
- A list containing the b.
-
getBCount
int getBCount()
"list(bool)"
repeated bool b = 5 [packed = true];- Returns:
- The count of b.
-
getB
boolean getB(int index)
"list(bool)"
repeated bool b = 5 [packed = true];- Parameters:
index- The index of the element to return.- Returns:
- The b at the given index.
-
getTypeList
java.util.List<DataType> getTypeList()
"list(type)"
repeated .tensorflow.DataType type = 6 [packed = true];- Returns:
- A list containing the type.
-
getTypeCount
int getTypeCount()
"list(type)"
repeated .tensorflow.DataType type = 6 [packed = true];- Returns:
- The count of type.
-
getType
DataType getType(int index)
"list(type)"
repeated .tensorflow.DataType type = 6 [packed = true];- Parameters:
index- The index of the element to return.- Returns:
- The type at the given index.
-
getTypeValueList
java.util.List<java.lang.Integer> getTypeValueList()
"list(type)"
repeated .tensorflow.DataType type = 6 [packed = true];- Returns:
- A list containing the enum numeric values on the wire for type.
-
getTypeValue
int getTypeValue(int index)
"list(type)"
repeated .tensorflow.DataType type = 6 [packed = true];- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of type at the given index.
-
getShapeList
java.util.List<TensorShapeProto> getShapeList()
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;
-
getShape
TensorShapeProto getShape(int index)
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;
-
getShapeCount
int getShapeCount()
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;
-
getShapeOrBuilderList
java.util.List<? extends TensorShapeProtoOrBuilder> getShapeOrBuilderList()
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;
-
getShapeOrBuilder
TensorShapeProtoOrBuilder getShapeOrBuilder(int index)
"list(shape)"
repeated .tensorflow.TensorShapeProto shape = 7;
-
getTensorList
java.util.List<TensorProto> getTensorList()
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;
-
getTensor
TensorProto getTensor(int index)
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;
-
getTensorCount
int getTensorCount()
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;
-
getTensorOrBuilderList
java.util.List<? extends TensorProtoOrBuilder> getTensorOrBuilderList()
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;
-
getTensorOrBuilder
TensorProtoOrBuilder getTensorOrBuilder(int index)
"list(tensor)"
repeated .tensorflow.TensorProto tensor = 8;
-
getFuncList
java.util.List<NameAttrList> getFuncList()
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;
-
getFunc
NameAttrList getFunc(int index)
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;
-
getFuncCount
int getFuncCount()
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;
-
getFuncOrBuilderList
java.util.List<? extends NameAttrListOrBuilder> getFuncOrBuilderList()
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;
-
getFuncOrBuilder
NameAttrListOrBuilder getFuncOrBuilder(int index)
"list(attr)"
repeated .tensorflow.NameAttrList func = 9;
-
-