public final class BoostedTreesQuantileStreamResourceFlush extends PrimitiveOp
An op that flushes the summaries for a quantile stream resource.
Modifier and Type | Class and Description |
---|---|
static class |
BoostedTreesQuantileStreamResourceFlush.Options
Optional attributes for
BoostedTreesQuantileStreamResourceFlush |
operation
Modifier and Type | Method and Description |
---|---|
static BoostedTreesQuantileStreamResourceFlush |
create(Scope scope,
Operand<?> quantileStreamResourceHandle,
Operand<Long> numBuckets,
BoostedTreesQuantileStreamResourceFlush.Options... options)
Factory method to create a class wrapping a new BoostedTreesQuantileStreamResourceFlush operation.
|
static BoostedTreesQuantileStreamResourceFlush.Options |
generateQuantiles(Boolean generateQuantiles) |
equals, hashCode, op, toString
public static BoostedTreesQuantileStreamResourceFlush create(Scope scope, Operand<?> quantileStreamResourceHandle, Operand<Long> numBuckets, BoostedTreesQuantileStreamResourceFlush.Options... options)
scope
- current scopequantileStreamResourceHandle
- resource handle referring to a QuantileStreamResource.numBuckets
- int; approximate number of buckets unless using generate_quantiles.options
- carries optional attributes valuespublic static BoostedTreesQuantileStreamResourceFlush.Options generateQuantiles(Boolean generateQuantiles)
generateQuantiles
- bool; If True, the output will be the num_quantiles for each stream where the ith
entry is the ith quantile of the input with an approximation error of epsilon.
Duplicate values may be present.
If False, the output will be the points in the histogram that we got which roughly
translates to 1/epsilon boundaries and without any duplicates.
Default to False.Copyright © 2022. All rights reserved.