Package org.tensorflow.metadata.v0
Interface RankHistogram.BucketOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RankHistogram.Bucket,RankHistogram.Bucket.Builder
- Enclosing class:
- RankHistogram
public static interface RankHistogram.BucketOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetHighRank()The high rank of the bucket, exclusive.StringgetLabel()The label for the bucket.com.google.protobuf.ByteStringgetLabelBytes()The label for the bucket.longgetLowRank()The low rank of the bucket, inclusive.doublegetSampleCount()The number of items in the bucket.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLowRank
long getLowRank()
The low rank of the bucket, inclusive.
uint64 low_rank = 1;- Returns:
- The lowRank.
-
getHighRank
long getHighRank()
The high rank of the bucket, exclusive.
uint64 high_rank = 2;- Returns:
- The highRank.
-
getLabel
String getLabel()
The label for the bucket. Can be used to list or summarize the values in this rank bucket.
string label = 4;- Returns:
- The label.
-
getLabelBytes
com.google.protobuf.ByteString getLabelBytes()
The label for the bucket. Can be used to list or summarize the values in this rank bucket.
string label = 4;- Returns:
- The bytes for label.
-
getSampleCount
double getSampleCount()
The number of items in the bucket. Stored as a double to be able to handle weighted histograms.
double sample_count = 5;- Returns:
- The sampleCount.
-
-