BoostedTreesQuantileStreamResourceFlush

public final class BoostedTreesQuantileStreamResourceFlush

Flush the summaries for a quantile stream resource.

An op that flushes the summaries for a quantile stream resource.

Nested Classes

class BoostedTreesQuantileStreamResourceFlush.Options Optional attributes for BoostedTreesQuantileStreamResourceFlush  

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

static BoostedTreesQuantileStreamResourceFlush
create(Scope scope, Operand<?> quantileStreamResourceHandle, Operand<TInt64> numBuckets, Options... options)
Factory method to create a class wrapping a new BoostedTreesQuantileStreamResourceFlush operation.
static BoostedTreesQuantileStreamResourceFlush.Options
generateQuantiles(Boolean generateQuantiles)

Inherited Methods

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "BoostedTreesQuantileStreamResourceFlush"

Public Methods

public static BoostedTreesQuantileStreamResourceFlush create (Scope scope, Operand<?> quantileStreamResourceHandle, Operand<TInt64> numBuckets, Options... options)

Factory method to create a class wrapping a new BoostedTreesQuantileStreamResourceFlush operation.

Parameters
scope current scope
quantileStreamResourceHandle resource handle referring to a QuantileStreamResource.
numBuckets int; approximate number of buckets unless using generate_quantiles.
options carries optional attributes values
Returns
  • a new instance of BoostedTreesQuantileStreamResourceFlush

public static BoostedTreesQuantileStreamResourceFlush.Options generateQuantiles (Boolean generateQuantiles)

Parameters
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.