Provides an identity mapping from input to output, while writing the content of
the input tensor by calling DebugEventsWriter.
The semantics of the input tensor depends on tensor_debug_mode. In typical
usage, the input tensor comes directly from the user computation only when
graph_debug_mode is FULL_TENSOR (see protobuf/debug_event.proto for a
list of all the possible values of graph_debug_mode). For the other debug modes,
the input tensor should be produced by an additional op or subgraph that
computes summary information about one or more tensors.
Args
input
A Tensor. Input tensor, non-Reference type
tfdbg_context_id
An optional string. Defaults to "".
A tfdbg-generated ID for the context that the op belongs to,
e.g., a concrete compiled tf.function.
op_name
An optional string. Defaults to "".
Optional. Name of the op that the debug op is concerned with.
Used only for single-tensor trace.
output_slot
An optional int. Defaults to -1.
Optional. Output slot index of the tensor that the debug op
is concerned with. Used only for single-tensor trace.
tensor_debug_mode
An optional int. Defaults to -1.
TensorDebugMode enum value. See debug_event.proto for details.
debug_urls
An optional list of strings. Defaults to [].
List of URLs to debug targets, e.g., file:///foo/tfdbg_dump.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-01-23 UTC."],[],[]]