HistogramProto.Builder

public static final class HistogramProto.Builder

 Serialization format for histogram module in
 core/lib/histogram/histogram.h
 
Protobuf type tensorflow.HistogramProto

Public Methods

HistogramProto.Builder
addAllBucket(Iterable<? extends Double> values)
repeated double bucket = 7 [packed = true];
HistogramProto.Builder
addAllBucketLimit(Iterable<? extends Double> values)
 Parallel arrays encoding the bucket boundaries and the bucket values.
HistogramProto.Builder
addBucket(double value)
repeated double bucket = 7 [packed = true];
HistogramProto.Builder
addBucketLimit(double value)
 Parallel arrays encoding the bucket boundaries and the bucket values.
HistogramProto.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
HistogramProto
build()
HistogramProto
HistogramProto.Builder
clear()
HistogramProto.Builder
clearBucket()
repeated double bucket = 7 [packed = true];
HistogramProto.Builder
clearBucketLimit()
 Parallel arrays encoding the bucket boundaries and the bucket values.
HistogramProto.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
HistogramProto.Builder
clearMax()
double max = 2;
HistogramProto.Builder
clearMin()
double min = 1;
HistogramProto.Builder
clearNum()
double num = 3;
HistogramProto.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
HistogramProto.Builder
clearSum()
double sum = 4;
HistogramProto.Builder
clearSumSquares()
double sum_squares = 5;
HistogramProto.Builder
clone()
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.
List<Double>
getBucketLimitList()
 Parallel arrays encoding the bucket boundaries and the bucket values.
List<Double>
getBucketList()
repeated double bucket = 7 [packed = true];
HistogramProto
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
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;
final boolean
HistogramProto.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
HistogramProto.Builder
mergeFrom(com.google.protobuf.Message other)
final HistogramProto.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
HistogramProto.Builder
setBucket(int index, double value)
repeated double bucket = 7 [packed = true];
HistogramProto.Builder
setBucketLimit(int index, double value)
 Parallel arrays encoding the bucket boundaries and the bucket values.
HistogramProto.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
HistogramProto.Builder
setMax(double value)
double max = 2;
HistogramProto.Builder
setMin(double value)
double min = 1;
HistogramProto.Builder
setNum(double value)
double num = 3;
HistogramProto.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
HistogramProto.Builder
setSum(double value)
double sum = 4;
HistogramProto.Builder
setSumSquares(double value)
double sum_squares = 5;
final HistogramProto.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public HistogramProto.Builder addAllBucket (Iterable<? extends Double> values)

repeated double bucket = 7 [packed = true];

public HistogramProto.Builder addAllBucketLimit (Iterable<? extends Double> values)

 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];

public HistogramProto.Builder addBucket (double value)

repeated double bucket = 7 [packed = true];

public HistogramProto.Builder addBucketLimit (double value)

 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];

public HistogramProto.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public HistogramProto build ()

public HistogramProto buildPartial ()

public HistogramProto.Builder clear ()

public HistogramProto.Builder clearBucket ()

repeated double bucket = 7 [packed = true];

public HistogramProto.Builder clearBucketLimit ()

 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];

public HistogramProto.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public HistogramProto.Builder clearMax ()

double max = 2;

public HistogramProto.Builder clearMin ()

double min = 1;