tf.raw_ops.DebugNanCount
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 .
|
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 2024-01-23 UTC.
[null,null,["Last updated 2024-01-23 UTC."],[],[]]