Interface DatasetOptions.AutotuneOptionsOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
DatasetOptions.AutotuneOptions, DatasetOptions.AutotuneOptions.Builder
Enclosing class:
DatasetOptions

public static interface DatasetOptions.AutotuneOptionsOrBuilder extends MessageOrBuilder
  • Method Details

    • hasEnabled

      boolean hasEnabled()
      bool enabled = 1;
      Returns:
      Whether the enabled field is set.
    • getEnabled

      boolean getEnabled()
      bool enabled = 1;
      Returns:
      The enabled.
    • hasCpuBudget

      boolean hasCpuBudget()
      int32 cpu_budget = 2;
      Returns:
      Whether the cpuBudget field is set.
    • getCpuBudget

      int getCpuBudget()
      int32 cpu_budget = 2;
      Returns:
      The cpuBudget.
    • hasRamBudget

      boolean hasRamBudget()
      int64 ram_budget = 3;
      Returns:
      Whether the ramBudget field is set.
    • getRamBudget

      long getRamBudget()
      int64 ram_budget = 3;
      Returns:
      The ramBudget.
    • hasAutotuneAlgorithm

      boolean hasAutotuneAlgorithm()
      .tensorflow.data.model.AutotuneAlgorithm autotune_algorithm = 4;
      Returns:
      Whether the autotuneAlgorithm field is set.
    • getAutotuneAlgorithmValue

      int getAutotuneAlgorithmValue()
      .tensorflow.data.model.AutotuneAlgorithm autotune_algorithm = 4;
      Returns:
      The enum numeric value on the wire for autotuneAlgorithm.
    • getAutotuneAlgorithm

      Model.AutotuneAlgorithm getAutotuneAlgorithm()
      .tensorflow.data.model.AutotuneAlgorithm autotune_algorithm = 4;
      Returns:
      The autotuneAlgorithm.
    • hasInitialParallelism

      boolean hasInitialParallelism()
      int64 initial_parallelism = 5;
      Returns:
      Whether the initialParallelism field is set.
    • getInitialParallelism

      long getInitialParallelism()
      int64 initial_parallelism = 5;
      Returns:
      The initialParallelism.
    • getOptionalEnabledCase

    • getOptionalCpuBudgetCase

    • getOptionalRamBudgetCase

    • getOptionalAutotuneAlgorithmCase

    • getOptionalInitialParallelismCase