public final class GraphExecutionTrace extends com.google.protobuf.GeneratedMessageV3 implements GraphExecutionTraceOrBuilder
Data relating to an execution of a Graph (e.g., an eager execution of a FuncGraph). The values of the intermediate tensors computed in the graph are recorded in this proto. A graph execution may correspond to one or more pieces of `GraphExecutionTrace`, depending on whether the instrumented tensor values are summarized in an aggregated or separate fashion.Protobuf type
tensorflow.GraphExecutionTrace| Modifier and Type | Class and Description |
|---|---|
static class |
GraphExecutionTrace.Builder
Data relating to an execution of a Graph (e.g., an eager execution of a
FuncGraph).
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DEVICE_NAME_FIELD_NUMBER |
static int |
OP_NAME_FIELD_NUMBER |
static int |
OUTPUT_SLOT_FIELD_NUMBER |
static int |
TENSOR_DEBUG_MODE_FIELD_NUMBER |
static int |
TENSOR_PROTO_FIELD_NUMBER |
static int |
TFDBG_CONTEXT_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static GraphExecutionTrace |
getDefaultInstance() |
GraphExecutionTrace |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDeviceName()
Name of the device that the op belongs to.
|
com.google.protobuf.ByteString |
getDeviceNameBytes()
Name of the device that the op belongs to.
|
String |
getOpName()
Name of the op (applicable only in the case of the `FULL_TENSOR` trace
level).
|
com.google.protobuf.ByteString |
getOpNameBytes()
Name of the op (applicable only in the case of the `FULL_TENSOR` trace
level).
|
int |
getOutputSlot()
Output slot of the tensor (applicable only in the case of the `FULL_TENSOR`
trace level).
|
com.google.protobuf.Parser<GraphExecutionTrace> |
getParserForType() |
int |
getSerializedSize() |
TensorDebugMode |
getTensorDebugMode()
Type of the tensor value encapsulated in this proto.
|
int |
getTensorDebugModeValue()
Type of the tensor value encapsulated in this proto.
|
TensorProto |
getTensorProto()
Tensor value in the type described by `tensor_value_type`.
|
TensorProtoOrBuilder |
getTensorProtoOrBuilder()
Tensor value in the type described by `tensor_value_type`.
|
String |
getTfdbgContextId()
Unique ID of the context that the executed op(s) belong to (e.g., a
compiled concrete tf.function).
|
com.google.protobuf.ByteString |
getTfdbgContextIdBytes()
Unique ID of the context that the executed op(s) belong to (e.g., a
compiled concrete tf.function).
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasTensorProto()
Tensor value in the type described by `tensor_value_type`.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static GraphExecutionTrace.Builder |
newBuilder() |
static GraphExecutionTrace.Builder |
newBuilder(GraphExecutionTrace prototype) |
GraphExecutionTrace.Builder |
newBuilderForType() |
protected GraphExecutionTrace.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static GraphExecutionTrace |
parseDelimitedFrom(InputStream input) |
static GraphExecutionTrace |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GraphExecutionTrace |
parseFrom(byte[] data) |
static GraphExecutionTrace |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GraphExecutionTrace |
parseFrom(ByteBuffer data) |
static GraphExecutionTrace |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GraphExecutionTrace |
parseFrom(com.google.protobuf.ByteString data) |
static GraphExecutionTrace |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GraphExecutionTrace |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GraphExecutionTrace |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GraphExecutionTrace |
parseFrom(InputStream input) |
static GraphExecutionTrace |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<GraphExecutionTrace> |
parser() |
GraphExecutionTrace.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TFDBG_CONTEXT_ID_FIELD_NUMBER
public static final int OP_NAME_FIELD_NUMBER
public static final int OUTPUT_SLOT_FIELD_NUMBER
public static final int TENSOR_DEBUG_MODE_FIELD_NUMBER
public static final int TENSOR_PROTO_FIELD_NUMBER
public static final int DEVICE_NAME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getTfdbgContextId()
Unique ID of the context that the executed op(s) belong to (e.g., a compiled concrete tf.function).
string tfdbg_context_id = 1;getTfdbgContextId in interface GraphExecutionTraceOrBuilderpublic com.google.protobuf.ByteString getTfdbgContextIdBytes()
Unique ID of the context that the executed op(s) belong to (e.g., a compiled concrete tf.function).
string tfdbg_context_id = 1;getTfdbgContextIdBytes in interface GraphExecutionTraceOrBuilderpublic String getOpName()
Name of the op (applicable only in the case of the `FULL_TENSOR` trace level).
string op_name = 2;getOpName in interface GraphExecutionTraceOrBuilderpublic com.google.protobuf.ByteString getOpNameBytes()
Name of the op (applicable only in the case of the `FULL_TENSOR` trace level).
string op_name = 2;getOpNameBytes in interface GraphExecutionTraceOrBuilderpublic int getOutputSlot()
Output slot of the tensor (applicable only in the case of the `FULL_TENSOR` trace level).
int32 output_slot = 3;getOutputSlot in interface GraphExecutionTraceOrBuilderpublic int getTensorDebugModeValue()
Type of the tensor value encapsulated in this proto.
.tensorflow.TensorDebugMode tensor_debug_mode = 4;getTensorDebugModeValue in interface GraphExecutionTraceOrBuilderpublic TensorDebugMode getTensorDebugMode()
Type of the tensor value encapsulated in this proto.
.tensorflow.TensorDebugMode tensor_debug_mode = 4;getTensorDebugMode in interface GraphExecutionTraceOrBuilderpublic boolean hasTensorProto()
Tensor value in the type described by `tensor_value_type`. This tensor may summarize the value of a single intermediate op of the graph, or those of multiple intermediate tensors.
.tensorflow.TensorProto tensor_proto = 5;hasTensorProto in interface GraphExecutionTraceOrBuilderpublic TensorProto getTensorProto()
Tensor value in the type described by `tensor_value_type`. This tensor may summarize the value of a single intermediate op of the graph, or those of multiple intermediate tensors.
.tensorflow.TensorProto tensor_proto = 5;getTensorProto in interface GraphExecutionTraceOrBuilderpublic TensorProtoOrBuilder getTensorProtoOrBuilder()
Tensor value in the type described by `tensor_value_type`. This tensor may summarize the value of a single intermediate op of the graph, or those of multiple intermediate tensors.
.tensorflow.TensorProto tensor_proto = 5;getTensorProtoOrBuilder in interface GraphExecutionTraceOrBuilderpublic String getDeviceName()
Name of the device that the op belongs to.
string device_name = 6;getDeviceName in interface GraphExecutionTraceOrBuilderpublic com.google.protobuf.ByteString getDeviceNameBytes()
Name of the device that the op belongs to.
string device_name = 6;getDeviceNameBytes in interface GraphExecutionTraceOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static GraphExecutionTrace parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GraphExecutionTrace parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GraphExecutionTrace parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GraphExecutionTrace parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GraphExecutionTrace parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GraphExecutionTrace parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GraphExecutionTrace parseFrom(InputStream input) throws IOException
IOExceptionpublic static GraphExecutionTrace parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GraphExecutionTrace parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GraphExecutionTrace parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GraphExecutionTrace parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GraphExecutionTrace parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GraphExecutionTrace.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static GraphExecutionTrace.Builder newBuilder()
public static GraphExecutionTrace.Builder newBuilder(GraphExecutionTrace prototype)
public GraphExecutionTrace.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected GraphExecutionTrace.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static GraphExecutionTrace getDefaultInstance()
public static com.google.protobuf.Parser<GraphExecutionTrace> parser()
public com.google.protobuf.Parser<GraphExecutionTrace> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public GraphExecutionTrace getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2015–2022. All rights reserved.