Class SparseApplyAdagrad.Options
java.lang.Object
org.tensorflow.op.train.SparseApplyAdagrad.Options
- Enclosing class:
SparseApplyAdagrad<T extends TType>
Optional attributes for
SparseApplyAdagrad-
Method Summary
Modifier and TypeMethodDescriptionupdateSlots(Boolean updateSlots) Sets the updateSlots option.useLocking(Boolean useLocking) Sets the useLocking option.
-
Method Details
-
useLocking
Sets the useLocking option.- Parameters:
useLocking- IfTrue, updating of the var and accum tensors will be protected by a lock; otherwise the behavior is undefined, but may exhibit less contention.- Returns:
- this Options instance.
-
updateSlots
Sets the updateSlots option.- Parameters:
updateSlots- the updateSlots option- Returns:
- this Options instance.
-