public final class BoostedTreesCreateQuantileStreamResource extends PrimitiveOp
Modifier and Type | Class and Description |
---|---|
static class |
BoostedTreesCreateQuantileStreamResource.Options
Optional attributes for
BoostedTreesCreateQuantileStreamResource |
operation
Modifier and Type | Method and Description |
---|---|
static BoostedTreesCreateQuantileStreamResource |
create(Scope scope,
Operand<?> quantileStreamResourceHandle,
Operand<Float> epsilon,
Operand<Long> numStreams,
BoostedTreesCreateQuantileStreamResource.Options... options)
Factory method to create a class wrapping a new BoostedTreesCreateQuantileStreamResource operation.
|
static BoostedTreesCreateQuantileStreamResource.Options |
maxElements(Long maxElements) |
equals, hashCode, op, toString
public static BoostedTreesCreateQuantileStreamResource create(Scope scope, Operand<?> quantileStreamResourceHandle, Operand<Float> epsilon, Operand<Long> numStreams, BoostedTreesCreateQuantileStreamResource.Options... options)
scope
- current scopequantileStreamResourceHandle
- resource; Handle to quantile stream resource.epsilon
- float; The required approximation error of the stream resource.numStreams
- int; The number of streams managed by the resource that shares the same epsilon.options
- carries optional attributes valuespublic static BoostedTreesCreateQuantileStreamResource.Options maxElements(Long maxElements)
maxElements
- int; The maximum number of data points that can be fed to the stream.Copyright © 2022. All rights reserved.