Interface DatasetOptions.AutotuneOptionsOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
- All Known Implementing Classes:
DatasetOptions.AutotuneOptions, DatasetOptions.AutotuneOptions.Builder
- Enclosing class:
DatasetOptions
-
Method Summary
Modifier and TypeMethodDescription.tensorflow.data.model.AutotuneAlgorithm autotune_algorithm = 4;int.tensorflow.data.model.AutotuneAlgorithm autotune_algorithm = 4;intint32 cpu_budget = 2;booleanbool enabled = 1;longint64 initial_parallelism = 5;longint64 ram_budget = 3;boolean.tensorflow.data.model.AutotuneAlgorithm autotune_algorithm = 4;booleanint32 cpu_budget = 2;booleanbool enabled = 1;booleanint64 initial_parallelism = 5;booleanint64 ram_budget = 3;Methods inherited from interface MessageLiteOrBuilder
isInitialized
-
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
DatasetOptions.AutotuneOptions.OptionalEnabledCase getOptionalEnabledCase() -
getOptionalCpuBudgetCase
DatasetOptions.AutotuneOptions.OptionalCpuBudgetCase getOptionalCpuBudgetCase() -
getOptionalRamBudgetCase
DatasetOptions.AutotuneOptions.OptionalRamBudgetCase getOptionalRamBudgetCase() -
getOptionalAutotuneAlgorithmCase
DatasetOptions.AutotuneOptions.OptionalAutotuneAlgorithmCase getOptionalAutotuneAlgorithmCase() -
getOptionalInitialParallelismCase
DatasetOptions.AutotuneOptions.OptionalInitialParallelismCase getOptionalInitialParallelismCase()
-