Package org.tensorflow.framework
Interface CollectionDef.FloatListOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CollectionDef.FloatList
,CollectionDef.FloatList.Builder
- Enclosing class:
- CollectionDef
public static interface CollectionDef.FloatListOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description float
getValue(int index)
repeated float value = 1 [packed = true];
int
getValueCount()
repeated float value = 1 [packed = true];
List<Float>
getValueList()
repeated float value = 1 [packed = true];
-
Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getValueList
List<Float> getValueList()
repeated float value = 1 [packed = true];
- Returns:
- A list containing the value.
-
getValueCount
int getValueCount()
repeated float value = 1 [packed = true];
- Returns:
- The count of value.
-
getValue
float getValue(int index)
repeated float value = 1 [packed = true];
- Parameters:
index
- The index of the element to return.- Returns:
- The value at the given index.
-
-