Class DebugOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<DebugOptions.Builder>
com.google.protobuf.GeneratedMessage.Builder<DebugOptions.Builder>
org.tensorflow.proto.DebugOptions.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, DebugOptionsOrBuilder
- Enclosing class:
DebugOptions
public static final class DebugOptions.Builder
extends GeneratedMessage.Builder<DebugOptions.Builder>
implements DebugOptionsOrBuilder
Options for initializing DebuggerState in TensorFlow Debugger (tfdbg).Protobuf type
tensorflow.DebugOptions-
Method Summary
Modifier and TypeMethodDescriptionaddAllDebugTensorWatchOpts(Iterable<? extends DebugTensorWatch> values) Debugging optionsaddDebugTensorWatchOpts(int index, DebugTensorWatch value) Debugging optionsaddDebugTensorWatchOpts(int index, DebugTensorWatch.Builder builderForValue) Debugging optionsDebugging optionsaddDebugTensorWatchOpts(DebugTensorWatch.Builder builderForValue) Debugging optionsDebugging optionsaddDebugTensorWatchOptsBuilder(int index) Debugging optionsbuild()clear()Debugging optionsCaller-specified global step count.Whether the total disk usage of tfdbg is to be reset to zero in this Session.run call.getDebugTensorWatchOpts(int index) Debugging optionsgetDebugTensorWatchOptsBuilder(int index) Debugging optionsDebugging optionsintDebugging optionsDebugging optionsgetDebugTensorWatchOptsOrBuilder(int index) Debugging optionsList<? extends DebugTensorWatchOrBuilder> Debugging optionsstatic final Descriptors.DescriptorlongCaller-specified global step count.booleanWhether the total disk usage of tfdbg is to be reset to zero in this Session.run call.protected GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(DebugOptions other) removeDebugTensorWatchOpts(int index) Debugging optionssetDebugTensorWatchOpts(int index, DebugTensorWatch value) Debugging optionssetDebugTensorWatchOpts(int index, DebugTensorWatch.Builder builderForValue) Debugging optionssetGlobalStep(long value) Caller-specified global step count.setResetDiskByteUsage(boolean value) Whether the total disk usage of tfdbg is to be reset to zero in this Session.run call.Methods inherited from class GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessage.Builder<DebugOptions.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessage.Builder<DebugOptions.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessage.Builder<DebugOptions.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<DebugOptions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessage.Builder<DebugOptions.Builder>
-
mergeFrom
public DebugOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<DebugOptions.Builder>- Throws:
IOException
-
getDebugTensorWatchOptsList
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;- Specified by:
getDebugTensorWatchOptsListin interfaceDebugOptionsOrBuilder
-
getDebugTensorWatchOptsCount
public int getDebugTensorWatchOptsCount()Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;- Specified by:
getDebugTensorWatchOptsCountin interfaceDebugOptionsOrBuilder
-
getDebugTensorWatchOpts
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;- Specified by:
getDebugTensorWatchOptsin interfaceDebugOptionsOrBuilder
-
setDebugTensorWatchOpts
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4; -
setDebugTensorWatchOpts
public DebugOptions.Builder setDebugTensorWatchOpts(int index, DebugTensorWatch.Builder builderForValue) Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4; -
addDebugTensorWatchOpts
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4; -
addDebugTensorWatchOpts
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4; -
addDebugTensorWatchOpts
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4; -
addDebugTensorWatchOpts
public DebugOptions.Builder addDebugTensorWatchOpts(int index, DebugTensorWatch.Builder builderForValue) Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4; -
addAllDebugTensorWatchOpts
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4; -
clearDebugTensorWatchOpts
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4; -
removeDebugTensorWatchOpts
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4; -
getDebugTensorWatchOptsBuilder
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4; -
getDebugTensorWatchOptsOrBuilder
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;- Specified by:
getDebugTensorWatchOptsOrBuilderin interfaceDebugOptionsOrBuilder
-
getDebugTensorWatchOptsOrBuilderList
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;- Specified by:
getDebugTensorWatchOptsOrBuilderListin interfaceDebugOptionsOrBuilder
-
addDebugTensorWatchOptsBuilder
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4; -
addDebugTensorWatchOptsBuilder
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4; -
getDebugTensorWatchOptsBuilderList
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4; -
getGlobalStep
public long getGlobalStep()Caller-specified global step count. Note that this is distinct from the session run count and the executor step count.
int64 global_step = 10;- Specified by:
getGlobalStepin interfaceDebugOptionsOrBuilder- Returns:
- The globalStep.
-
setGlobalStep
Caller-specified global step count. Note that this is distinct from the session run count and the executor step count.
int64 global_step = 10;- Parameters:
value- The globalStep to set.- Returns:
- This builder for chaining.
-
clearGlobalStep
Caller-specified global step count. Note that this is distinct from the session run count and the executor step count.
int64 global_step = 10;- Returns:
- This builder for chaining.
-
getResetDiskByteUsage
public boolean getResetDiskByteUsage()Whether the total disk usage of tfdbg is to be reset to zero in this Session.run call. This is used by wrappers and hooks such as the local CLI ones to indicate that the dumped tensors are cleaned up from the disk after each Session.run.
bool reset_disk_byte_usage = 11;- Specified by:
getResetDiskByteUsagein interfaceDebugOptionsOrBuilder- Returns:
- The resetDiskByteUsage.
-
setResetDiskByteUsage
Whether the total disk usage of tfdbg is to be reset to zero in this Session.run call. This is used by wrappers and hooks such as the local CLI ones to indicate that the dumped tensors are cleaned up from the disk after each Session.run.
bool reset_disk_byte_usage = 11;- Parameters:
value- The resetDiskByteUsage to set.- Returns:
- This builder for chaining.
-
clearResetDiskByteUsage
Whether the total disk usage of tfdbg is to be reset to zero in this Session.run call. This is used by wrappers and hooks such as the local CLI ones to indicate that the dumped tensors are cleaned up from the disk after each Session.run.
bool reset_disk_byte_usage = 11;- Returns:
- This builder for chaining.
-