HistogramProto

public final class HistogramProto

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

Nested Classes

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

Constants

int BUCKET_FIELD_NUMBER
int BUCKET_LIMIT_FIELD_NUMBER
int MAX_FIELD_NUMBER
int MIN_FIELD_NUMBER
int NUM_FIELD_NUMBER
int SUM_FIELD_NUMBER
int SUM_SQUARES_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
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];
static HistogramProto
HistogramProto
final static com.google.protobuf.Descriptors.Descriptor
double
getMax()
double max = 2;
double
getMin()
double min = 1;
double
getNum()
double num = 3;
int
double
getSum()
double sum = 4;
double
getSumSquares()
double sum_squares = 5;
final com.google.protobuf.UnknownFieldSet
int
final boolean
static HistogramProto.Builder
static HistogramProto.Builder
HistogramProto.Builder
static HistogramProto
parseDelimitedFrom(InputStream input)
static HistogramProto
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static HistogramProto
parseFrom(ByteBuffer data)
static HistogramProto
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static HistogramProto
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static HistogramProto
parseFrom(com.google.protobuf.CodedInputStream input)
static HistogramProto
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static HistogramProto
parseFrom(com.google.protobuf.ByteString data)
static HistogramProto
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static HistogramProto
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
HistogramProto.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int BUCKET_FIELD_NUMBER

Constant Value: 7

public static final int BUCKET_LIMIT_FIELD_NUMBER

Constant Value: 6

public static final int MAX_FIELD_NUMBER

Constant Value: 2

public static final int MIN_FIELD_NUMBER

Constant Value: 1

public static final int NUM_FIELD_NUMBER

Constant Value: 3

public static final int SUM_FIELD_NUMBER

Constant Value: 4

public static final int SUM_SQUARES_FIELD_NUMBER

Constant Value: 5

Public Methods

public boolean equals (Object obj)

public double getBucket (int index)

repeated double bucket = 7 [packed = true];

public int getBucketCount ()

repeated double bucket = 7 [packed = true];

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

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

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

public List<Double> getBucketList ()

repeated double bucket = 7 [packed = true];

public static HistogramProto getDefaultInstance ()

public HistogramProto getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public double getMax ()

double max = 2;

public double getMin ()

double min = 1;

public double getNum ()

double num = 3;

public getParserForType ()

public int getSerializedSize ()

public double getSum ()

double sum = 4;

public double getSumSquares ()

double sum_squares = 5;

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

public final boolean isInitialized ()

public static HistogramProto.Builder newBuilder ()

public static HistogramProto.Builder newBuilder (HistogramProto prototype)

public HistogramProto.Builder newBuilderForType ()

public static HistogramProto parseDelimitedFrom (InputStream input)

Throws
IOException

public static HistogramProto parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static HistogramProto parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static HistogramProto parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static HistogramProto parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static HistogramProto parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static HistogramProto parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static HistogramProto parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static HistogramProto parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static HistogramProto parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public HistogramProto.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException