Class DatasetOptions.OptimizationOptions
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.proto.data.DatasetOptions.OptimizationOptions
- All Implemented Interfaces:
Message, MessageLite, MessageLiteOrBuilder, MessageOrBuilder, Serializable, DatasetOptions.OptimizationOptionsOrBuilder
- Enclosing class:
DatasetOptions
public static final class DatasetOptions.OptimizationOptions
extends GeneratedMessageV3
implements DatasetOptions.OptimizationOptionsOrBuilder
next: 22Protobuf type
tensorflow.data.OptimizationOptions- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classnext: 22static enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumNested classes/interfaces inherited from class GeneratedMessageV3
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>, GeneratedMessageV3.ExtendableMessage<MessageType>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterNested classes/interfaces inherited from class AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class AbstractMessage
memoizedSizeFields inherited from class AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbool apply_default_optimizations = 1;static final Descriptors.Descriptorbooleanbool filter_fusion = 6;booleanbool filter_parallelization = 18;booleanbool inject_prefetch = 19;booleanbool map_and_batch_fusion = 9;booleanbool map_and_filter_fusion = 10;booleanbool map_fusion = 11;booleanbool map_parallelization = 12;booleanbool noop_elimination = 14;booleanbool parallel_batch = 15;booleanbool seq_interleave_prefetch = 21;intbooleanbool shuffle_and_repeat_fusion = 17;final UnknownFieldSetbooleanbool apply_default_optimizations = 1;booleanbool filter_fusion = 6;booleanbool filter_parallelization = 18;inthashCode()booleanbool inject_prefetch = 19;booleanbool map_and_batch_fusion = 9;booleanbool map_and_filter_fusion = 10;booleanbool map_fusion = 11;booleanbool map_parallelization = 12;booleanbool noop_elimination = 14;booleanbool parallel_batch = 15;booleanbool seq_interleave_prefetch = 21;booleanbool shuffle_and_repeat_fusion = 17;protected GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(DatasetOptions.OptimizationOptions prototype) protected ObjectparseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) parseFrom(ByteString data) parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) parseFrom(CodedInputStream input) parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) parser()voidwriteTo(CodedOutputStream output) Methods inherited from class GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
APPLY_DEFAULT_OPTIMIZATIONS_FIELD_NUMBER
public static final int APPLY_DEFAULT_OPTIMIZATIONS_FIELD_NUMBER- See Also:
-
FILTER_FUSION_FIELD_NUMBER
public static final int FILTER_FUSION_FIELD_NUMBER- See Also:
-
MAP_AND_BATCH_FUSION_FIELD_NUMBER
public static final int MAP_AND_BATCH_FUSION_FIELD_NUMBER- See Also:
-
MAP_AND_FILTER_FUSION_FIELD_NUMBER
public static final int MAP_AND_FILTER_FUSION_FIELD_NUMBER- See Also:
-
MAP_FUSION_FIELD_NUMBER
public static final int MAP_FUSION_FIELD_NUMBER- See Also:
-
MAP_PARALLELIZATION_FIELD_NUMBER
public static final int MAP_PARALLELIZATION_FIELD_NUMBER- See Also:
-
NOOP_ELIMINATION_FIELD_NUMBER
public static final int NOOP_ELIMINATION_FIELD_NUMBER- See Also:
-
PARALLEL_BATCH_FIELD_NUMBER
public static final int PARALLEL_BATCH_FIELD_NUMBER- See Also:
-
SHUFFLE_AND_REPEAT_FUSION_FIELD_NUMBER
public static final int SHUFFLE_AND_REPEAT_FUSION_FIELD_NUMBER- See Also:
-
FILTER_PARALLELIZATION_FIELD_NUMBER
public static final int FILTER_PARALLELIZATION_FIELD_NUMBER- See Also:
-
INJECT_PREFETCH_FIELD_NUMBER
public static final int INJECT_PREFETCH_FIELD_NUMBER- See Also:
-
SEQ_INTERLEAVE_PREFETCH_FIELD_NUMBER
public static final int SEQ_INTERLEAVE_PREFETCH_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classGeneratedMessageV3
-
getUnknownFields
- Specified by:
getUnknownFieldsin interfaceMessageOrBuilder- Overrides:
getUnknownFieldsin classGeneratedMessageV3
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
getOptionalApplyDefaultOptimizationsCase
public DatasetOptions.OptimizationOptions.OptionalApplyDefaultOptimizationsCase getOptionalApplyDefaultOptimizationsCase()- Specified by:
getOptionalApplyDefaultOptimizationsCasein interfaceDatasetOptions.OptimizationOptionsOrBuilder
-
getOptionalFilterFusionCase
- Specified by:
getOptionalFilterFusionCasein interfaceDatasetOptions.OptimizationOptionsOrBuilder
-
getOptionalMapAndBatchFusionCase
public DatasetOptions.OptimizationOptions.OptionalMapAndBatchFusionCase getOptionalMapAndBatchFusionCase()- Specified by:
getOptionalMapAndBatchFusionCasein interfaceDatasetOptions.OptimizationOptionsOrBuilder
-
getOptionalMapAndFilterFusionCase
public DatasetOptions.OptimizationOptions.OptionalMapAndFilterFusionCase getOptionalMapAndFilterFusionCase()- Specified by:
getOptionalMapAndFilterFusionCasein interfaceDatasetOptions.OptimizationOptionsOrBuilder
-
getOptionalMapFusionCase
- Specified by:
getOptionalMapFusionCasein interfaceDatasetOptions.OptimizationOptionsOrBuilder
-
getOptionalMapParallelizationCase
public DatasetOptions.OptimizationOptions.OptionalMapParallelizationCase getOptionalMapParallelizationCase()- Specified by:
getOptionalMapParallelizationCasein interfaceDatasetOptions.OptimizationOptionsOrBuilder
-
getOptionalNoopEliminationCase
public DatasetOptions.OptimizationOptions.OptionalNoopEliminationCase getOptionalNoopEliminationCase()- Specified by:
getOptionalNoopEliminationCasein interfaceDatasetOptions.OptimizationOptionsOrBuilder
-
getOptionalParallelBatchCase
- Specified by:
getOptionalParallelBatchCasein interfaceDatasetOptions.OptimizationOptionsOrBuilder
-
getOptionalShuffleAndRepeatFusionCase
public DatasetOptions.OptimizationOptions.OptionalShuffleAndRepeatFusionCase getOptionalShuffleAndRepeatFusionCase()- Specified by:
getOptionalShuffleAndRepeatFusionCasein interfaceDatasetOptions.OptimizationOptionsOrBuilder
-
getOptionalFilterParallelizationCase
public DatasetOptions.OptimizationOptions.OptionalFilterParallelizationCase getOptionalFilterParallelizationCase()- Specified by:
getOptionalFilterParallelizationCasein interfaceDatasetOptions.OptimizationOptionsOrBuilder
-
getOptionalInjectPrefetchCase
public DatasetOptions.OptimizationOptions.OptionalInjectPrefetchCase getOptionalInjectPrefetchCase()- Specified by:
getOptionalInjectPrefetchCasein interfaceDatasetOptions.OptimizationOptionsOrBuilder
-
getOptionalSeqInterleavePrefetchCase
public DatasetOptions.OptimizationOptions.OptionalSeqInterleavePrefetchCase getOptionalSeqInterleavePrefetchCase()- Specified by:
getOptionalSeqInterleavePrefetchCasein interfaceDatasetOptions.OptimizationOptionsOrBuilder
-
hasApplyDefaultOptimizations
public boolean hasApplyDefaultOptimizations()bool apply_default_optimizations = 1;- Specified by:
hasApplyDefaultOptimizationsin interfaceDatasetOptions.OptimizationOptionsOrBuilder- Returns:
- Whether the applyDefaultOptimizations field is set.
-
getApplyDefaultOptimizations
public boolean getApplyDefaultOptimizations()bool apply_default_optimizations = 1;- Specified by:
getApplyDefaultOptimizationsin interfaceDatasetOptions.OptimizationOptionsOrBuilder- Returns:
- The applyDefaultOptimizations.
-
hasFilterFusion
public boolean hasFilterFusion()bool filter_fusion = 6;- Specified by:
hasFilterFusionin interfaceDatasetOptions.OptimizationOptionsOrBuilder- Returns:
- Whether the filterFusion field is set.
-
getFilterFusion
public boolean getFilterFusion()bool filter_fusion = 6;- Specified by:
getFilterFusionin interfaceDatasetOptions.OptimizationOptionsOrBuilder- Returns:
- The filterFusion.
-
hasMapAndBatchFusion
public boolean hasMapAndBatchFusion()bool map_and_batch_fusion = 9;- Specified by:
hasMapAndBatchFusionin interfaceDatasetOptions.OptimizationOptionsOrBuilder- Returns:
- Whether the mapAndBatchFusion field is set.
-
getMapAndBatchFusion
public boolean getMapAndBatchFusion()bool map_and_batch_fusion = 9;- Specified by:
getMapAndBatchFusionin interfaceDatasetOptions.OptimizationOptionsOrBuilder- Returns:
- The mapAndBatchFusion.
-
hasMapAndFilterFusion
public boolean hasMapAndFilterFusion()bool map_and_filter_fusion = 10;- Specified by:
hasMapAndFilterFusionin interfaceDatasetOptions.OptimizationOptionsOrBuilder- Returns:
- Whether the mapAndFilterFusion field is set.
-
getMapAndFilterFusion
public boolean getMapAndFilterFusion()bool map_and_filter_fusion = 10;- Specified by:
getMapAndFilterFusionin interfaceDatasetOptions.OptimizationOptionsOrBuilder- Returns:
- The mapAndFilterFusion.
-
hasMapFusion
public boolean hasMapFusion()bool map_fusion = 11;- Specified by:
hasMapFusionin interfaceDatasetOptions.OptimizationOptionsOrBuilder- Returns:
- Whether the mapFusion field is set.
-
getMapFusion
public boolean getMapFusion()bool map_fusion = 11;- Specified by:
getMapFusionin interfaceDatasetOptions.OptimizationOptionsOrBuilder- Returns:
- The mapFusion.
-
hasMapParallelization
public boolean hasMapParallelization()bool map_parallelization = 12;- Specified by:
hasMapParallelizationin interfaceDatasetOptions.OptimizationOptionsOrBuilder- Returns:
- Whether the mapParallelization field is set.
-
getMapParallelization
public boolean getMapParallelization()bool map_parallelization = 12;- Specified by:
getMapParallelizationin interfaceDatasetOptions.OptimizationOptionsOrBuilder- Returns:
- The mapParallelization.
-
hasNoopElimination
public boolean hasNoopElimination()bool noop_elimination = 14;- Specified by:
hasNoopEliminationin interfaceDatasetOptions.OptimizationOptionsOrBuilder- Returns:
- Whether the noopElimination field is set.
-
getNoopElimination
public boolean getNoopElimination()bool noop_elimination = 14;- Specified by:
getNoopEliminationin interfaceDatasetOptions.OptimizationOptionsOrBuilder- Returns:
- The noopElimination.
-
hasParallelBatch
public boolean hasParallelBatch()bool parallel_batch = 15;- Specified by:
hasParallelBatchin interfaceDatasetOptions.OptimizationOptionsOrBuilder- Returns:
- Whether the parallelBatch field is set.
-
getParallelBatch
public boolean getParallelBatch()bool parallel_batch = 15;- Specified by:
getParallelBatchin interfaceDatasetOptions.OptimizationOptionsOrBuilder- Returns:
- The parallelBatch.
-
hasShuffleAndRepeatFusion
public boolean hasShuffleAndRepeatFusion()bool shuffle_and_repeat_fusion = 17;- Specified by:
hasShuffleAndRepeatFusionin interfaceDatasetOptions.OptimizationOptionsOrBuilder- Returns:
- Whether the shuffleAndRepeatFusion field is set.
-
getShuffleAndRepeatFusion
public boolean getShuffleAndRepeatFusion()bool shuffle_and_repeat_fusion = 17;- Specified by:
getShuffleAndRepeatFusionin interfaceDatasetOptions.OptimizationOptionsOrBuilder- Returns:
- The shuffleAndRepeatFusion.
-
hasFilterParallelization
public boolean hasFilterParallelization()bool filter_parallelization = 18;- Specified by:
hasFilterParallelizationin interfaceDatasetOptions.OptimizationOptionsOrBuilder- Returns:
- Whether the filterParallelization field is set.
-
getFilterParallelization
public boolean getFilterParallelization()bool filter_parallelization = 18;- Specified by:
getFilterParallelizationin interfaceDatasetOptions.OptimizationOptionsOrBuilder- Returns:
- The filterParallelization.
-
hasInjectPrefetch
public boolean hasInjectPrefetch()bool inject_prefetch = 19;- Specified by:
hasInjectPrefetchin interfaceDatasetOptions.OptimizationOptionsOrBuilder- Returns:
- Whether the injectPrefetch field is set.
-
getInjectPrefetch
public boolean getInjectPrefetch()bool inject_prefetch = 19;- Specified by:
getInjectPrefetchin interfaceDatasetOptions.OptimizationOptionsOrBuilder- Returns:
- The injectPrefetch.
-
hasSeqInterleavePrefetch
public boolean hasSeqInterleavePrefetch()bool seq_interleave_prefetch = 21;- Specified by:
hasSeqInterleavePrefetchin interfaceDatasetOptions.OptimizationOptionsOrBuilder- Returns:
- Whether the seqInterleavePrefetch field is set.
-
getSeqInterleavePrefetch
public boolean getSeqInterleavePrefetch()bool seq_interleave_prefetch = 21;- Specified by:
getSeqInterleavePrefetchin interfaceDatasetOptions.OptimizationOptionsOrBuilder- Returns:
- The seqInterleavePrefetch.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfaceMessageLite- Overrides:
writeToin classGeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfaceMessageLite- Overrides:
getSerializedSizein classGeneratedMessageV3
-
equals
- Specified by:
equalsin interfaceMessage- Overrides:
equalsin classAbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceMessage- Overrides:
hashCodein classAbstractMessage
-
parseFrom
public static DatasetOptions.OptimizationOptions parseFrom(ByteBuffer data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static DatasetOptions.OptimizationOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static DatasetOptions.OptimizationOptions parseFrom(ByteString data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static DatasetOptions.OptimizationOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static DatasetOptions.OptimizationOptions parseFrom(byte[] data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static DatasetOptions.OptimizationOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DatasetOptions.OptimizationOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static DatasetOptions.OptimizationOptions parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static DatasetOptions.OptimizationOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DatasetOptions.OptimizationOptions parseFrom(CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DatasetOptions.OptimizationOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein interfaceMessageLite
-
newBuilder
-
newBuilder
public static DatasetOptions.OptimizationOptions.Builder newBuilder(DatasetOptions.OptimizationOptions prototype) -
toBuilder
- Specified by:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
protected DatasetOptions.OptimizationOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classGeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfaceMessage- Specified by:
getParserForTypein interfaceMessageLite- Overrides:
getParserForTypein classGeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-