@Operator(group="train") public final class SdcaShrinkL1 extends PrimitiveOp
operation| Modifier and Type | Method and Description |
|---|---|
static SdcaShrinkL1 |
create(Scope scope,
Iterable<Operand<Float>> weights,
Float l1,
Float l2)
Factory method to create a class wrapping a new SdcaShrinkL1 operation.
|
equals, hashCode, op, toStringpublic static SdcaShrinkL1 create(Scope scope, Iterable<Operand<Float>> weights, Float l1, Float l2)
scope - current scopeweights - a list of vectors where each value is the weight associated with a
feature group.l1 - Symmetric l1 regularization strength.l2 - Symmetric l2 regularization strength. Should be a positive float.Copyright © 2015–2019. All rights reserved.