Package org.tensorflow.metadata.v0
Interface Histogram.BucketOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Histogram.Bucket,Histogram.Bucket.Builder
- Enclosing class:
- Histogram
public static interface Histogram.BucketOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetHighValue()The high value of the bucket, exclusive (unless the highValue is positive infinity).doublegetLowValue()The low value 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
-
getLowValue
double getLowValue()
The low value of the bucket, inclusive.
double low_value = 1;- Returns:
- The lowValue.
-
getHighValue
double getHighValue()
The high value of the bucket, exclusive (unless the highValue is positive infinity).
double high_value = 2;- Returns:
- The highValue.
-
getSampleCount
double getSampleCount()
The number of items in the bucket. Stored as a double to be able to handle weighted histograms.
double sample_count = 4;- Returns:
- The sampleCount.
-
-