public static final class DebugOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder> implements DebugOptionsOrBuilder
Options for initializing DebuggerState in TensorFlow Debugger (tfdbg).Protobuf type
tensorflow.DebugOptions
Modifier and Type | Method and Description |
---|---|
DebugOptions.Builder |
addAllDebugTensorWatchOpts(Iterable<? extends DebugTensorWatch> values)
Debugging options
|
DebugOptions.Builder |
addDebugTensorWatchOpts(DebugTensorWatch.Builder builderForValue)
Debugging options
|
DebugOptions.Builder |
addDebugTensorWatchOpts(DebugTensorWatch value)
Debugging options
|
DebugOptions.Builder |
addDebugTensorWatchOpts(int index,
DebugTensorWatch.Builder builderForValue)
Debugging options
|
DebugOptions.Builder |
addDebugTensorWatchOpts(int index,
DebugTensorWatch value)
Debugging options
|
DebugTensorWatch.Builder |
addDebugTensorWatchOptsBuilder()
Debugging options
|
DebugTensorWatch.Builder |
addDebugTensorWatchOptsBuilder(int index)
Debugging options
|
DebugOptions.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DebugOptions |
build() |
DebugOptions |
buildPartial() |
DebugOptions.Builder |
clear() |
DebugOptions.Builder |
clearDebugTensorWatchOpts()
Debugging options
|
DebugOptions.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DebugOptions.Builder |
clearGlobalStep()
Caller-specified global step count.
|
DebugOptions.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DebugOptions.Builder |
clearResetDiskByteUsage()
Whether the total disk usage of tfdbg is to be reset to zero
in this Session.run call.
|
DebugOptions.Builder |
clone() |
DebugTensorWatch |
getDebugTensorWatchOpts(int index)
Debugging options
|
DebugTensorWatch.Builder |
getDebugTensorWatchOptsBuilder(int index)
Debugging options
|
List<DebugTensorWatch.Builder> |
getDebugTensorWatchOptsBuilderList()
Debugging options
|
int |
getDebugTensorWatchOptsCount()
Debugging options
|
List<DebugTensorWatch> |
getDebugTensorWatchOptsList()
Debugging options
|
DebugTensorWatchOrBuilder |
getDebugTensorWatchOptsOrBuilder(int index)
Debugging options
|
List<? extends DebugTensorWatchOrBuilder> |
getDebugTensorWatchOptsOrBuilderList()
Debugging options
|
DebugOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getGlobalStep()
Caller-specified global step count.
|
boolean |
getResetDiskByteUsage()
Whether the total disk usage of tfdbg is to be reset to zero
in this Session.run call.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DebugOptions.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DebugOptions.Builder |
mergeFrom(DebugOptions other) |
DebugOptions.Builder |
mergeFrom(com.google.protobuf.Message other) |
DebugOptions.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DebugOptions.Builder |
removeDebugTensorWatchOpts(int index)
Debugging options
|
DebugOptions.Builder |
setDebugTensorWatchOpts(int index,
DebugTensorWatch.Builder builderForValue)
Debugging options
|
DebugOptions.Builder |
setDebugTensorWatchOpts(int index,
DebugTensorWatch value)
Debugging options
|
DebugOptions.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DebugOptions.Builder |
setGlobalStep(long value)
Caller-specified global step count.
|
DebugOptions.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DebugOptions.Builder |
setResetDiskByteUsage(boolean value)
Whether the total disk usage of tfdbg is to be reset to zero
in this Session.run call.
|
DebugOptions.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
public DebugOptions.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
public DebugOptions getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public DebugOptions build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public DebugOptions buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public DebugOptions.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
public DebugOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
public DebugOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
public DebugOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
public DebugOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
public DebugOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
public DebugOptions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<DebugOptions.Builder>
public DebugOptions.Builder mergeFrom(DebugOptions other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
public DebugOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<DebugOptions.Builder>
IOException
public List<DebugTensorWatch> getDebugTensorWatchOptsList()
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;
getDebugTensorWatchOptsList
in interface DebugOptionsOrBuilder
public int getDebugTensorWatchOptsCount()
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;
getDebugTensorWatchOptsCount
in interface DebugOptionsOrBuilder
public DebugTensorWatch getDebugTensorWatchOpts(int index)
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;
getDebugTensorWatchOpts
in interface DebugOptionsOrBuilder
public DebugOptions.Builder setDebugTensorWatchOpts(int index, DebugTensorWatch value)
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;
public DebugOptions.Builder setDebugTensorWatchOpts(int index, DebugTensorWatch.Builder builderForValue)
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;
public DebugOptions.Builder addDebugTensorWatchOpts(DebugTensorWatch value)
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;
public DebugOptions.Builder addDebugTensorWatchOpts(int index, DebugTensorWatch value)
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;
public DebugOptions.Builder addDebugTensorWatchOpts(DebugTensorWatch.Builder builderForValue)
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;
public DebugOptions.Builder addDebugTensorWatchOpts(int index, DebugTensorWatch.Builder builderForValue)
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;
public DebugOptions.Builder addAllDebugTensorWatchOpts(Iterable<? extends DebugTensorWatch> values)
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;
public DebugOptions.Builder clearDebugTensorWatchOpts()
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;
public DebugOptions.Builder removeDebugTensorWatchOpts(int index)
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;
public DebugTensorWatch.Builder getDebugTensorWatchOptsBuilder(int index)
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;
public DebugTensorWatchOrBuilder getDebugTensorWatchOptsOrBuilder(int index)
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;
getDebugTensorWatchOptsOrBuilder
in interface DebugOptionsOrBuilder
public List<? extends DebugTensorWatchOrBuilder> getDebugTensorWatchOptsOrBuilderList()
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;
getDebugTensorWatchOptsOrBuilderList
in interface DebugOptionsOrBuilder
public DebugTensorWatch.Builder addDebugTensorWatchOptsBuilder()
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;
public DebugTensorWatch.Builder addDebugTensorWatchOptsBuilder(int index)
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;
public List<DebugTensorWatch.Builder> getDebugTensorWatchOptsBuilderList()
Debugging options
repeated .tensorflow.DebugTensorWatch debug_tensor_watch_opts = 4;
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;
getGlobalStep
in interface DebugOptionsOrBuilder
public DebugOptions.Builder setGlobalStep(long value)
Caller-specified global step count. Note that this is distinct from the session run count and the executor step count.
int64 global_step = 10;
public DebugOptions.Builder 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;
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;
getResetDiskByteUsage
in interface DebugOptionsOrBuilder
public DebugOptions.Builder setResetDiskByteUsage(boolean value)
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;
public DebugOptions.Builder 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;
public final DebugOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
public final DebugOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<DebugOptions.Builder>
Copyright © 2015–2022. All rights reserved.