tf.raw_ops.DebugIdentityV2
Stay organized with collections
Save and categorize content based on your preferences.
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
|
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.
|
circular_buffer_size
|
An optional int . Defaults to 1000 .
|
tfdbg_run_id
|
An optional string . Defaults to "" .
|
name
|
A name for the operation (optional).
|
Returns |
A Tensor . Has the same type as input .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2022-10-27 UTC.
[[["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 2022-10-27 UTC."],[],[]]