tf.raw_ops.DebugIdentity
Provides an identity mapping of the non-Ref type input tensor for debugging.
tf.raw_ops.DebugIdentity( input, device_name='', tensor_name='', debug_urls=[], gated_grpc=False, name=None )
Provides an identity mapping of the non-Ref type input tensor for debugging.
Args | |
---|---|
input | A Tensor . Input tensor, non-Reference type |
device_name | An optional string . Defaults to "" . Name of the device on which the tensor resides. |
tensor_name | An optional string . Defaults to "" . Name of the input tensor. |
debug_urls | An optional list of strings . Defaults to [] . List of URLs to debug targets, e.g., file:///foo/tfdbg_dump, grpc:://localhost:11011 |
gated_grpc | An optional bool . Defaults to False . Whether this op will be gated. If any of the debug_urls of this debug node is of the grpc:// scheme, when the value of this attribute is set to True, the data will not actually be sent via the grpc stream unless this debug op has been enabled at the debug_url. If all of the debug_urls of this debug node are of the grpc:// scheme and the debug op is enabled at none of them, the output will be an empty Tensor. |
name | A name for the operation (optional). |
Returns | |
---|---|
A Tensor . Has the same type as input . |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/raw_ops/DebugIdentity