Interface BertLmProto.PredictionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BertLmProto.Prediction,BertLmProto.Prediction.Builder
- Enclosing class:
BertLmProto
public static interface BertLmProto.PredictionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondoublegetScore(int index) repeated double score = 1;intrepeated double score = 1;repeated double score = 1;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getScoreList
repeated double score = 1;- Returns:
- A list containing the score.
-
getScoreCount
int getScoreCount()repeated double score = 1;- Returns:
- The count of score.
-
getScore
double getScore(int index) repeated double score = 1;- Parameters:
index- The index of the element to return.- Returns:
- The score at the given index.
-