classe final pública 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
tipo tensorflow.GraphExecutionTrace
Classes aninhadas
aula | 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étodos Públicos
boleano | igual a (objeto obj) |
GraphExecutionTrace estático | |
GraphExecutionTrace | |
final static com.google.protobuf.Descriptors.Descriptor | |
Fragmento | getDeviceName () Name of the device that the op belongs to. |
com.google.protobuf.ByteString | getDeviceNameBytes () Name of the device that the op belongs to. |
Fragmento | 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`. |
Fragmento | 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 | |
boleano | hasTensorProto () Tensor value in the type described by `tensor_value_type`. |
int | hashCode () |
final booleano | |
static GraphExecutionTrace.Builder | newBuilder (protótipo GraphExecutionTrace ) |
static GraphExecutionTrace.Builder | newBuilder () |
GraphExecutionTrace.Builder | |
GraphExecutionTrace estático | parseDelimitedFrom (input InputStream) |
GraphExecutionTrace estático | parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GraphExecutionTrace estático | parseFrom (dados ByteBuffer) |
GraphExecutionTrace estático | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GraphExecutionTrace estático | parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GraphExecutionTrace estático | parseFrom (com.google.protobuf.CodedInputStream input) |
GraphExecutionTrace estático | parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GraphExecutionTrace estático | parseFrom (com.google.protobuf.ByteString data) |
GraphExecutionTrace estático | parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GraphExecutionTrace estático | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
GraphExecutionTrace.Builder | toBuilder () |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
público estático final int DEVICE_NAME_FIELD_NUMBER
Valor constante: 6
público estático final int OP_NAME_FIELD_NUMBER
Valor constante: 2
public static final int OUTPUT_SLOT_FIELD_NUMBER
Valor Constante: 3
public static final int TENSOR_DEBUG_MODE_FIELD_NUMBER
Valor constante: 4
public static final int TENSOR_PROTO_FIELD_NUMBER
Valor constante: 5
public static final int TFDBG_CONTEXT_ID_FIELD_NUMBER
Valor Constante: 1
Métodos Públicos
public boolean equals (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public String 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;
public String 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;
público 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;
public 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;
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;
public 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;
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 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;
public int hashCode ()
public final boolean isInitialized ()
public static GraphExecutionTrace parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static GraphExecutionTrace parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static GraphExecutionTrace parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static GraphExecutionTrace parseFrom (com.google.protobuf.CodedInputStream input)
Lança
IOException |
---|
public static GraphExecutionTrace parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static GraphExecutionTrace parseFrom (com.google.protobuf.ByteString data)
Lança
InvalidProtocolBufferException |
---|
public static GraphExecutionTrace parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static GraphExecutionTrace parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
IOException |
---|