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

Public Methods

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

Inherited Methods

org.tensorflow.op.PrimitiveOp
final boolean
equals(Object obj)
final int
Operation
op()
Returns the underlying Operation
final String
boolean
equals(Object arg0)
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Public Methods

public static BoostedTreesQuantileStreamResourceFlush create (Scope scope, Operand<?> quantileStreamResourceHandle, Operand<Long> 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.