Class DebugEvent
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.proto.DebugEvent
- All Implemented Interfaces:
Message, MessageLite, MessageLiteOrBuilder, MessageOrBuilder, Serializable, DebugEventOrBuilder
An Event related to the debugging of a TensorFlow program.Protobuf type
tensorflow.DebugEvent- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn Event related to the debugging of a TensorFlow program.static 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 intFields inherited from class GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class AbstractMessage
memoizedSizeFields inherited from class AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanA device on which debugger-instrumented ops and/or tensors reside.A device on which debugger-instrumented ops and/or tensors reside.Information about a debugged graph.Information about a debugged graph.Metadata related to this debugging data.Metadata related to this debugging data.static DebugEventstatic final Descriptors.DescriptorExecution of an op or a Graph (e.g., a tf.function).Execution of an op or a Graph (e.g., a tf.function).A graph execution trace: Contains information about the intermediate tensors computed during the graph execution.A graph execution trace: Contains information about the intermediate tensors computed during the graph execution.The ID of the graph (i.e., FuncGraph) executed here: applicable only to the execution of a FuncGraph.The ID of the graph (i.e., FuncGraph) executed here: applicable only to the execution of a FuncGraph.The creation of an op within a graph (e.g., a FuncGraph compiled from a Python function).The creation of an op within a graph (e.g., a FuncGraph compiled from a Python function).intThe content of a source file.The content of a source file.A stack frame (filename, line number and column number, function name and code string) with ID.A stack frame (filename, line number and column number, function name and code string) with ID.longgetStep()Step of training (if available).final UnknownFieldSetdoubleTimestamp in seconds (with microsecond precision).booleanA device on which debugger-instrumented ops and/or tensors reside.booleanInformation about a debugged graph.booleanMetadata related to this debugging data.booleanExecution of an op or a Graph (e.g., a tf.function).booleanA graph execution trace: Contains information about the intermediate tensors computed during the graph execution.booleanThe ID of the graph (i.e., FuncGraph) executed here: applicable only to the execution of a FuncGraph.booleanThe creation of an op within a graph (e.g., a FuncGraph compiled from a Python function).inthashCode()booleanThe content of a source file.booleanA stack frame (filename, line number and column number, function name and code string) with ID.protected GeneratedMessageV3.FieldAccessorTablefinal booleanstatic DebugEvent.Builderstatic DebugEvent.BuildernewBuilder(DebugEvent prototype) protected DebugEvent.Builderprotected Objectstatic DebugEventparseDelimitedFrom(InputStream input) static DebugEventparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static DebugEventparseFrom(byte[] data) static DebugEventparseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) static DebugEventparseFrom(ByteString data) static DebugEventparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) static DebugEventparseFrom(CodedInputStream input) static DebugEventparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) static DebugEventparseFrom(InputStream input) static DebugEventparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static DebugEventparseFrom(ByteBuffer data) static DebugEventparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) static Parser<DebugEvent> 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
-
WALL_TIME_FIELD_NUMBER
public static final int WALL_TIME_FIELD_NUMBER- See Also:
-
STEP_FIELD_NUMBER
public static final int STEP_FIELD_NUMBER- See Also:
-
DEBUG_METADATA_FIELD_NUMBER
public static final int DEBUG_METADATA_FIELD_NUMBER- See Also:
-
SOURCE_FILE_FIELD_NUMBER
public static final int SOURCE_FILE_FIELD_NUMBER- See Also:
-
STACK_FRAME_WITH_ID_FIELD_NUMBER
public static final int STACK_FRAME_WITH_ID_FIELD_NUMBER- See Also:
-
GRAPH_OP_CREATION_FIELD_NUMBER
public static final int GRAPH_OP_CREATION_FIELD_NUMBER- See Also:
-
DEBUGGED_GRAPH_FIELD_NUMBER
public static final int DEBUGGED_GRAPH_FIELD_NUMBER- See Also:
-
EXECUTION_FIELD_NUMBER
public static final int EXECUTION_FIELD_NUMBER- See Also:
-
GRAPH_EXECUTION_TRACE_FIELD_NUMBER
public static final int GRAPH_EXECUTION_TRACE_FIELD_NUMBER- See Also:
-
GRAPH_ID_FIELD_NUMBER
public static final int GRAPH_ID_FIELD_NUMBER- See Also:
-
DEBUGGED_DEVICE_FIELD_NUMBER
public static final int DEBUGGED_DEVICE_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classGeneratedMessageV3
-
getUnknownFields
- Specified by:
getUnknownFieldsin interfaceMessageOrBuilder- Overrides:
getUnknownFieldsin classGeneratedMessageV3
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
getWhatCase
- Specified by:
getWhatCasein interfaceDebugEventOrBuilder
-
getWallTime
public double getWallTime()Timestamp in seconds (with microsecond precision).
double wall_time = 1;- Specified by:
getWallTimein interfaceDebugEventOrBuilder- Returns:
- The wallTime.
-
getStep
public long getStep()Step of training (if available).
int64 step = 2;- Specified by:
getStepin interfaceDebugEventOrBuilder- Returns:
- The step.
-
hasDebugMetadata
public boolean hasDebugMetadata()Metadata related to this debugging data.
.tensorflow.DebugMetadata debug_metadata = 3;- Specified by:
hasDebugMetadatain interfaceDebugEventOrBuilder- Returns:
- Whether the debugMetadata field is set.
-
getDebugMetadata
Metadata related to this debugging data.
.tensorflow.DebugMetadata debug_metadata = 3;- Specified by:
getDebugMetadatain interfaceDebugEventOrBuilder- Returns:
- The debugMetadata.
-
getDebugMetadataOrBuilder
Metadata related to this debugging data.
.tensorflow.DebugMetadata debug_metadata = 3;- Specified by:
getDebugMetadataOrBuilderin interfaceDebugEventOrBuilder
-
hasSourceFile
public boolean hasSourceFile()The content of a source file.
.tensorflow.SourceFile source_file = 4;- Specified by:
hasSourceFilein interfaceDebugEventOrBuilder- Returns:
- Whether the sourceFile field is set.
-
getSourceFile
The content of a source file.
.tensorflow.SourceFile source_file = 4;- Specified by:
getSourceFilein interfaceDebugEventOrBuilder- Returns:
- The sourceFile.
-
getSourceFileOrBuilder
The content of a source file.
.tensorflow.SourceFile source_file = 4;- Specified by:
getSourceFileOrBuilderin interfaceDebugEventOrBuilder
-
hasStackFrameWithId
public boolean hasStackFrameWithId()A stack frame (filename, line number and column number, function name and code string) with ID.
.tensorflow.StackFrameWithId stack_frame_with_id = 6;- Specified by:
hasStackFrameWithIdin interfaceDebugEventOrBuilder- Returns:
- Whether the stackFrameWithId field is set.
-
getStackFrameWithId
A stack frame (filename, line number and column number, function name and code string) with ID.
.tensorflow.StackFrameWithId stack_frame_with_id = 6;- Specified by:
getStackFrameWithIdin interfaceDebugEventOrBuilder- Returns:
- The stackFrameWithId.
-
getStackFrameWithIdOrBuilder
A stack frame (filename, line number and column number, function name and code string) with ID.
.tensorflow.StackFrameWithId stack_frame_with_id = 6;- Specified by:
getStackFrameWithIdOrBuilderin interfaceDebugEventOrBuilder
-
hasGraphOpCreation
public boolean hasGraphOpCreation()The creation of an op within a graph (e.g., a FuncGraph compiled from a Python function).
.tensorflow.GraphOpCreation graph_op_creation = 7;- Specified by:
hasGraphOpCreationin interfaceDebugEventOrBuilder- Returns:
- Whether the graphOpCreation field is set.
-
getGraphOpCreation
The creation of an op within a graph (e.g., a FuncGraph compiled from a Python function).
.tensorflow.GraphOpCreation graph_op_creation = 7;- Specified by:
getGraphOpCreationin interfaceDebugEventOrBuilder- Returns:
- The graphOpCreation.
-
getGraphOpCreationOrBuilder
The creation of an op within a graph (e.g., a FuncGraph compiled from a Python function).
.tensorflow.GraphOpCreation graph_op_creation = 7;- Specified by:
getGraphOpCreationOrBuilderin interfaceDebugEventOrBuilder
-
hasDebuggedGraph
public boolean hasDebuggedGraph()Information about a debugged graph.
.tensorflow.DebuggedGraph debugged_graph = 8;- Specified by:
hasDebuggedGraphin interfaceDebugEventOrBuilder- Returns:
- Whether the debuggedGraph field is set.
-
getDebuggedGraph
Information about a debugged graph.
.tensorflow.DebuggedGraph debugged_graph = 8;- Specified by:
getDebuggedGraphin interfaceDebugEventOrBuilder- Returns:
- The debuggedGraph.
-
getDebuggedGraphOrBuilder
Information about a debugged graph.
.tensorflow.DebuggedGraph debugged_graph = 8;- Specified by:
getDebuggedGraphOrBuilderin interfaceDebugEventOrBuilder
-
hasExecution
public boolean hasExecution()Execution of an op or a Graph (e.g., a tf.function).
.tensorflow.Execution execution = 9;- Specified by:
hasExecutionin interfaceDebugEventOrBuilder- Returns:
- Whether the execution field is set.
-
getExecution
Execution of an op or a Graph (e.g., a tf.function).
.tensorflow.Execution execution = 9;- Specified by:
getExecutionin interfaceDebugEventOrBuilder- Returns:
- The execution.
-
getExecutionOrBuilder
Execution of an op or a Graph (e.g., a tf.function).
.tensorflow.Execution execution = 9;- Specified by:
getExecutionOrBuilderin interfaceDebugEventOrBuilder
-
hasGraphExecutionTrace
public boolean hasGraphExecutionTrace()A graph execution trace: Contains information about the intermediate tensors computed during the graph execution.
.tensorflow.GraphExecutionTrace graph_execution_trace = 10;- Specified by:
hasGraphExecutionTracein interfaceDebugEventOrBuilder- Returns:
- Whether the graphExecutionTrace field is set.
-
getGraphExecutionTrace
A graph execution trace: Contains information about the intermediate tensors computed during the graph execution.
.tensorflow.GraphExecutionTrace graph_execution_trace = 10;- Specified by:
getGraphExecutionTracein interfaceDebugEventOrBuilder- Returns:
- The graphExecutionTrace.
-
getGraphExecutionTraceOrBuilder
A graph execution trace: Contains information about the intermediate tensors computed during the graph execution.
.tensorflow.GraphExecutionTrace graph_execution_trace = 10;- Specified by:
getGraphExecutionTraceOrBuilderin interfaceDebugEventOrBuilder
-
hasGraphId
public boolean hasGraphId()The ID of the graph (i.e., FuncGraph) executed here: applicable only to the execution of a FuncGraph.
string graph_id = 11;- Specified by:
hasGraphIdin interfaceDebugEventOrBuilder- Returns:
- Whether the graphId field is set.
-
getGraphId
The ID of the graph (i.e., FuncGraph) executed here: applicable only to the execution of a FuncGraph.
string graph_id = 11;- Specified by:
getGraphIdin interfaceDebugEventOrBuilder- Returns:
- The graphId.
-
getGraphIdBytes
The ID of the graph (i.e., FuncGraph) executed here: applicable only to the execution of a FuncGraph.
string graph_id = 11;- Specified by:
getGraphIdBytesin interfaceDebugEventOrBuilder- Returns:
- The bytes for graphId.
-
hasDebuggedDevice
public boolean hasDebuggedDevice()A device on which debugger-instrumented ops and/or tensors reside.
.tensorflow.DebuggedDevice debugged_device = 12;- Specified by:
hasDebuggedDevicein interfaceDebugEventOrBuilder- Returns:
- Whether the debuggedDevice field is set.
-
getDebuggedDevice
A device on which debugger-instrumented ops and/or tensors reside.
.tensorflow.DebuggedDevice debugged_device = 12;- Specified by:
getDebuggedDevicein interfaceDebugEventOrBuilder- Returns:
- The debuggedDevice.
-
getDebuggedDeviceOrBuilder
A device on which debugger-instrumented ops and/or tensors reside.
.tensorflow.DebuggedDevice debugged_device = 12;- Specified by:
getDebuggedDeviceOrBuilderin interfaceDebugEventOrBuilder
-
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
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DebugEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DebugEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DebugEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DebugEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DebugEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DebugEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein interfaceMessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
- 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
-