Package org.platanios.tensorflow.proto
Interface HistogramProtoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HistogramProto
,HistogramProto.Builder
public interface HistogramProtoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getBucket(int index)
repeated double bucket = 7 [packed = true];
int
getBucketCount()
repeated double bucket = 7 [packed = true];
double
getBucketLimit(int index)
Parallel arrays encoding the bucket boundaries and the bucket values.int
getBucketLimitCount()
Parallel arrays encoding the bucket boundaries and the bucket values.java.util.List<java.lang.Double>
getBucketLimitList()
Parallel arrays encoding the bucket boundaries and the bucket values.java.util.List<java.lang.Double>
getBucketList()
repeated double bucket = 7 [packed = true];
double
getMax()
double max = 2;
double
getMin()
double min = 1;
double
getNum()
double num = 3;
double
getSum()
double sum = 4;
double
getSumSquares()
double sum_squares = 5;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMin
double getMin()
double min = 1;
- Returns:
- The min.
-
getMax
double getMax()
double max = 2;
- Returns:
- The max.
-
getNum
double getNum()
double num = 3;
- Returns:
- The num.
-
getSum
double getSum()
double sum = 4;
- Returns:
- The sum.
-
getSumSquares
double getSumSquares()
double sum_squares = 5;
- Returns:
- The sumSquares.
-
getBucketLimitList
java.util.List<java.lang.Double> getBucketLimitList()
Parallel arrays encoding the bucket boundaries and the bucket values. bucket(i) is the count for the bucket i. The range for a bucket is: i == 0: -DBL_MAX .. bucket_limit(0) i != 0: bucket_limit(i-1) .. bucket_limit(i)
repeated double bucket_limit = 6 [packed = true];
- Returns:
- A list containing the bucketLimit.
-
getBucketLimitCount
int getBucketLimitCount()
Parallel arrays encoding the bucket boundaries and the bucket values. bucket(i) is the count for the bucket i. The range for a bucket is: i == 0: -DBL_MAX .. bucket_limit(0) i != 0: bucket_limit(i-1) .. bucket_limit(i)
repeated double bucket_limit = 6 [packed = true];
- Returns:
- The count of bucketLimit.
-
getBucketLimit
double getBucketLimit(int index)
Parallel arrays encoding the bucket boundaries and the bucket values. bucket(i) is the count for the bucket i. The range for a bucket is: i == 0: -DBL_MAX .. bucket_limit(0) i != 0: bucket_limit(i-1) .. bucket_limit(i)
repeated double bucket_limit = 6 [packed = true];
- Parameters:
index
- The index of the element to return.- Returns:
- The bucketLimit at the given index.
-
getBucketList
java.util.List<java.lang.Double> getBucketList()
repeated double bucket = 7 [packed = true];
- Returns:
- A list containing the bucket.
-
getBucketCount
int getBucketCount()
repeated double bucket = 7 [packed = true];
- Returns:
- The count of bucket.
-
getBucket
double getBucket(int index)
repeated double bucket = 7 [packed = true];
- Parameters:
index
- The index of the element to return.- Returns:
- The bucket at the given index.
-
-