Class SparseApplyAdagrad.Options

java.lang.Object
org.tensorflow.op.train.SparseApplyAdagrad.Options
Enclosing class:
SparseApplyAdagrad<T extends TType>

public static class SparseApplyAdagrad.Options extends Object
Optional attributes for SparseApplyAdagrad
  • Method Details

    • useLocking

      public SparseApplyAdagrad.Options useLocking(Boolean useLocking)
      Sets the useLocking option.
      Parameters:
      useLocking - If True, 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

      public SparseApplyAdagrad.Options updateSlots(Boolean updateSlots)
      Sets the updateSlots option.
      Parameters:
      updateSlots - the updateSlots option
      Returns:
      this Options instance.