Interface DatasetOptions.OptionsOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
- All Known Implementing Classes:
DatasetOptions.Options, DatasetOptions.Options.Builder
- Enclosing class:
DatasetOptions
-
Method Summary
Modifier and TypeMethodDescriptionThe autotune options associated with the dataset.The autotune options associated with the dataset.string dataset_name = 10;string dataset_name = 10;booleanbool deterministic = 1;The distribution strategy options associated with the dataset.The distribution strategy options associated with the dataset..tensorflow.data.ExternalStatePolicy external_state_policy = 6;int.tensorflow.data.ExternalStatePolicy external_state_policy = 6;getFrameworkType(int index) List of frameworks used to generate this dataset.getFrameworkTypeBytes(int index) List of frameworks used to generate this dataset.intList of frameworks used to generate this dataset.List of frameworks used to generate this dataset.The optimization options associated with the dataset.The optimization options associated with the dataset.The tf.data service options associated with the dataset.The tf.data service options associated with the dataset.booleangetSlack()bool slack = 4;booleanbool symbolic_checkpoint = 8;The threading options associated with the dataset.The threading options associated with the dataset.booleanbool warm_start = 9;booleanThe autotune options associated with the dataset.booleanstring dataset_name = 10;booleanbool deterministic = 1;booleanThe distribution strategy options associated with the dataset.boolean.tensorflow.data.ExternalStatePolicy external_state_policy = 6;booleanThe optimization options associated with the dataset.booleanThe tf.data service options associated with the dataset.booleanhasSlack()bool slack = 4;booleanbool symbolic_checkpoint = 8;booleanThe threading options associated with the dataset.booleanbool warm_start = 9;Methods inherited from interface MessageLiteOrBuilder
isInitialized
-
Method Details
-
hasDatasetName
boolean hasDatasetName()string dataset_name = 10;- Returns:
- Whether the datasetName field is set.
-
getDatasetName
-
getDatasetNameBytes
-
getFrameworkTypeList
-
getFrameworkTypeCount
int getFrameworkTypeCount()List of frameworks used to generate this dataset.
repeated string framework_type = 11;- Returns:
- The count of frameworkType.
-
getFrameworkType
List of frameworks used to generate this dataset.
repeated string framework_type = 11;- Parameters:
index- The index of the element to return.- Returns:
- The frameworkType at the given index.
-
getFrameworkTypeBytes
List of frameworks used to generate this dataset.
repeated string framework_type = 11;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the frameworkType at the given index.
-
hasDeterministic
boolean hasDeterministic()bool deterministic = 1;- Returns:
- Whether the deterministic field is set.
-
getDeterministic
boolean getDeterministic()bool deterministic = 1;- Returns:
- The deterministic.
-
hasAutotuneOptions
boolean hasAutotuneOptions()The autotune options associated with the dataset.
.tensorflow.data.AutotuneOptions autotune_options = 7;- Returns:
- Whether the autotuneOptions field is set.
-
getAutotuneOptions
DatasetOptions.AutotuneOptions getAutotuneOptions()The autotune options associated with the dataset.
.tensorflow.data.AutotuneOptions autotune_options = 7;- Returns:
- The autotuneOptions.
-
getAutotuneOptionsOrBuilder
DatasetOptions.AutotuneOptionsOrBuilder getAutotuneOptionsOrBuilder()The autotune options associated with the dataset.
.tensorflow.data.AutotuneOptions autotune_options = 7; -
hasDistributeOptions
boolean hasDistributeOptions()The distribution strategy options associated with the dataset.
.tensorflow.data.DistributeOptions distribute_options = 2;- Returns:
- Whether the distributeOptions field is set.
-
getDistributeOptions
DatasetOptions.DistributeOptions getDistributeOptions()The distribution strategy options associated with the dataset.
.tensorflow.data.DistributeOptions distribute_options = 2;- Returns:
- The distributeOptions.
-
getDistributeOptionsOrBuilder
DatasetOptions.DistributeOptionsOrBuilder getDistributeOptionsOrBuilder()The distribution strategy options associated with the dataset.
.tensorflow.data.DistributeOptions distribute_options = 2; -
hasOptimizationOptions
boolean hasOptimizationOptions()The optimization options associated with the dataset.
.tensorflow.data.OptimizationOptions optimization_options = 3;- Returns:
- Whether the optimizationOptions field is set.
-
getOptimizationOptions
DatasetOptions.OptimizationOptions getOptimizationOptions()The optimization options associated with the dataset.
.tensorflow.data.OptimizationOptions optimization_options = 3;- Returns:
- The optimizationOptions.
-
getOptimizationOptionsOrBuilder
DatasetOptions.OptimizationOptionsOrBuilder getOptimizationOptionsOrBuilder()The optimization options associated with the dataset.
.tensorflow.data.OptimizationOptions optimization_options = 3; -
hasServiceOptions
boolean hasServiceOptions()The tf.data service options associated with the dataset.
.tensorflow.data.ServiceOptions service_options = 12;- Returns:
- Whether the serviceOptions field is set.
-
getServiceOptions
DatasetOptions.ServiceOptions getServiceOptions()The tf.data service options associated with the dataset.
.tensorflow.data.ServiceOptions service_options = 12;- Returns:
- The serviceOptions.
-
getServiceOptionsOrBuilder
DatasetOptions.ServiceOptionsOrBuilder getServiceOptionsOrBuilder()The tf.data service options associated with the dataset.
.tensorflow.data.ServiceOptions service_options = 12; -
hasSlack
boolean hasSlack()bool slack = 4;- Returns:
- Whether the slack field is set.
-
getSlack
boolean getSlack()bool slack = 4;- Returns:
- The slack.
-
hasThreadingOptions
boolean hasThreadingOptions()The threading options associated with the dataset.
.tensorflow.data.ThreadingOptions threading_options = 5;- Returns:
- Whether the threadingOptions field is set.
-
getThreadingOptions
DatasetOptions.ThreadingOptions getThreadingOptions()The threading options associated with the dataset.
.tensorflow.data.ThreadingOptions threading_options = 5;- Returns:
- The threadingOptions.
-
getThreadingOptionsOrBuilder
DatasetOptions.ThreadingOptionsOrBuilder getThreadingOptionsOrBuilder()The threading options associated with the dataset.
.tensorflow.data.ThreadingOptions threading_options = 5; -
hasExternalStatePolicy
boolean hasExternalStatePolicy().tensorflow.data.ExternalStatePolicy external_state_policy = 6;- Returns:
- Whether the externalStatePolicy field is set.
-
getExternalStatePolicyValue
int getExternalStatePolicyValue().tensorflow.data.ExternalStatePolicy external_state_policy = 6;- Returns:
- The enum numeric value on the wire for externalStatePolicy.
-
getExternalStatePolicy
DatasetOptions.ExternalStatePolicy getExternalStatePolicy().tensorflow.data.ExternalStatePolicy external_state_policy = 6;- Returns:
- The externalStatePolicy.
-
hasSymbolicCheckpoint
boolean hasSymbolicCheckpoint()bool symbolic_checkpoint = 8;- Returns:
- Whether the symbolicCheckpoint field is set.
-
getSymbolicCheckpoint
boolean getSymbolicCheckpoint()bool symbolic_checkpoint = 8;- Returns:
- The symbolicCheckpoint.
-
hasWarmStart
boolean hasWarmStart()bool warm_start = 9;- Returns:
- Whether the warmStart field is set.
-
getWarmStart
boolean getWarmStart()bool warm_start = 9;- Returns:
- The warmStart.
-
getOptionalDatasetNameCase
DatasetOptions.Options.OptionalDatasetNameCase getOptionalDatasetNameCase() -
getOptionalDeterministicCase
DatasetOptions.Options.OptionalDeterministicCase getOptionalDeterministicCase() -
getOptionalSlackCase
DatasetOptions.Options.OptionalSlackCase getOptionalSlackCase() -
getOptionalExternalStatePolicyCase
DatasetOptions.Options.OptionalExternalStatePolicyCase getOptionalExternalStatePolicyCase() -
getOptionalSymbolicCheckpointCase
DatasetOptions.Options.OptionalSymbolicCheckpointCase getOptionalSymbolicCheckpointCase() -
getOptionalWarmStartCase
DatasetOptions.Options.OptionalWarmStartCase getOptionalWarmStartCase()
-