Debug NaN Value Counter Op.
tf.raw_ops.DebugNanCount(
input, device_name='', tensor_name='', debug_urls=[],
gated_grpc=False, name=None
)
Counts number of NaNs in the input tensor, for debugging.
Args | |
---|---|
input
|
A Tensor . Input tensor, non-Reference type.
|
device_name
|
An optional string . Defaults to "" .
|
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 of type int64 .
|