Debug Identity V2 Op.
tf.raw_ops.DebugIdentityV2(
input,
tfdbg_context_id='',
op_name='',
output_slot=-1,
tensor_debug_mode=-1,
debug_urls=[],
circular_buffer_size=1000,
tfdbg_run_id='',
name=None
)
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
Tensor. Input tensor, non-Reference type
tfdbg_context_id
string. Defaults to "".
A tfdbg-generated ID for the context that the op belongs to,
e.g., a concrete compiled tf.function.
op_name
string. Defaults to "".
Optional. Name of the op that the debug op is concerned with.
Used only for single-tensor trace.
output_slot
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
int. Defaults to -1.
TensorDebugMode enum value. See debug_event.proto for details.
debug_urls
strings. Defaults to [].
List of URLs to debug targets, e.g., file:///foo/tfdbg_dump.
circular_buffer_size
int. Defaults to 1000.
tfdbg_run_id
string. Defaults to "".
name
Returns | |
|---|---|
A Tensor. Has the same type as input.
|