public static class ResourceApplyGradientDescent.Options extends Object
ResourceApplyGradientDescent
Modifier and Type | Method and Description |
---|---|
ResourceApplyGradientDescent.Options |
useLocking(Boolean useLocking) |
public ResourceApplyGradientDescent.Options useLocking(Boolean useLocking)
useLocking
- If `True`, the subtraction will be protected by a lock;
otherwise the behavior is undefined, but may exhibit less contention.Copyright © 2022. All rights reserved.