classe finale publique GraphExecutionTrace
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.
tensorflow.GraphExecutionTrace
de type Protobuf.GraphExecutionTrace Classes imbriquées
classe | GraphExecutionTrace.Builder | Data relating to an execution of a Graph (e.g., an eager execution of a FuncGraph). |
Constantes
int | DEVICE_NAME_FIELD_NUMBER | |
int | OP_NAME_FIELD_NUMBER | |
int | OUTPUT_SLOT_FIELD_NUMBER | |
int | TENSOR_DEBUG_MODE_FIELD_NUMBER | |
int | TENSOR_PROTO_FIELD_NUMBER | |
int | TFDBG_CONTEXT_ID_FIELD_NUMBER |
Méthodes publiques
booléen | est égal à (Obj objet) |
GraphExecutionTrace statique | |
GraphExecutionTrace | |
final statique com.google.protobuf.Descriptors.Descriptor | |
Chaîne | getDeviceName () Name of the device that the op belongs to. |
com.google.protobuf.ByteString | getDeviceNameBytes () Name of the device that the op belongs to. |
Chaîne | 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). |
int | |
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`. |
Chaîne | 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). |
final com.google.protobuf.UnknownFieldSet | |
booléen | hasTensorProto () Tensor value in the type described by `tensor_value_type`. |
int | |
booléen final | |
statique GraphExecutionTrace.Builder | newBuilder (prototype GraphExecutionTrace ) |
statique GraphExecutionTrace.Builder | |
GraphExecutionTrace.Builder | |
GraphExecutionTrace statique | parseDelimitedFrom (entrée InputStream) |
GraphExecutionTrace statique | parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GraphExecutionTrace statique | parseFrom (données ByteBuffer) |
GraphExecutionTrace statique | parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GraphExecutionTrace statique | parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GraphExecutionTrace statique | parseFrom (entrée com.google.protobuf.CodedInputStream) |
GraphExecutionTrace statique | parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GraphExecutionTrace statique | parseFrom (données com.google.protobuf.ByteString) |
GraphExecutionTrace statique | parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GraphExecutionTrace statique | parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique | analyseur () |
GraphExecutionTrace.Builder | toBuilder () |
vide | writeTo (sortie com.google.protobuf.CodedOutputStream) |
Méthodes héritées
Constantes
public statique final int DEVICE_NAME_FIELD_NUMBER
Valeur constante : 6
public statique final int OP_NAME_FIELD_NUMBER
Valeur constante : 2
public statique final int OUTPUT_SLOT_FIELD_NUMBER
Valeur constante : 3
public statique final int TENSOR_DEBUG_MODE_FIELD_NUMBER
Valeur constante : 4
public statique final int TENSOR_PROTO_FIELD_NUMBER
Valeur constante : 5
public statique final int TFDBG_CONTEXT_ID_FIELD_NUMBER
Valeur constante : 1
Méthodes publiques
public booléen égal (Objet obj)
public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
chaîne publique getDeviceName ()
Name of the device that the op belongs to.
string device_name = 6;
public com.google.protobuf.ByteString getDeviceNameBytes ()
Name of the device that the op belongs to.
string device_name = 6;
chaîne publique getOpName ()
Name of the op (applicable only in the case of the `FULL_TENSOR` trace level).
string op_name = 2;
public com.google.protobuf.ByteString getOpNameBytes ()
Name of the op (applicable only in the case of the `FULL_TENSOR` trace level).
string op_name = 2;
public int getOutputSlot ()
Output slot of the tensor (applicable only in the case of the `FULL_TENSOR` trace level).
int32 output_slot = 3;
publique getParserForType ()
public int getSerializedSize ()
public TensorDebugMode getTensorDebugMode ()
Type of the tensor value encapsulated in this proto.
.tensorflow.TensorDebugMode tensor_debug_mode = 4;
public int getTensorDebugModeValue ()
Type of the tensor value encapsulated in this proto.
.tensorflow.TensorDebugMode tensor_debug_mode = 4;
TensorProto public 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;
public 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;
chaîne publique 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;
public 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;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public booléen 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;
code de hachage int public ()
public final booléen isInitialized ()
public statique GraphExecutionTrace parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public statique GraphExecutionTrace parseFrom (données ByteBuffer)
Jetés
InvalidProtocolBufferException |
---|
public statique GraphExecutionTrace parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public statique GraphExecutionTrace parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique GraphExecutionTrace parseFrom (entrée com.google.protobuf.CodedInputStream)
Jetés
IOException |
---|
public statique GraphExecutionTrace parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique GraphExecutionTrace parseFrom (données com.google.protobuf.ByteString)
Jetés
InvalidProtocolBufferException |
---|
public statique GraphExecutionTrace parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public statique GraphExecutionTrace parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique analyseur ()
public void writeTo (sortie com.google.protobuf.CodedOutputStream)
Jetés
IOException |
---|