W3cubDocs

/TensorFlow C++

tensorflow::ops::DebugNanCount

#include <array_ops.h>

Debug NaN Value Counter Op.

Summary

Counts number of NaNs in the input tensor, for debugging.

Arguments:

  • scope: A Scope object
  • input: Input tensor, non-Reference type.

Optional attributes (see Attrs):

  • tensor_name: Name of the input tensor.
  • debug_urls: List of URLs to debug targets, e.g., file:///foo/tfdbg_dump, grpc:://localhost:11011

Returns:

  • Output: An integer output tensor that is the number of NaNs in the input.
Constructors and Destructors
DebugNanCount(const ::tensorflow::Scope & scope, ::tensorflow::Input input)
DebugNanCount(const ::tensorflow::Scope & scope, ::tensorflow::Input input, const DebugNanCount::Attrs & attrs)
Public attributes
output
Public functions
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Public static functions
DebugUrls(const gtl::ArraySlice< string > & x)
TensorName(StringPiece x)
Structs
tensorflow::ops::DebugNanCount::Attrs

Optional attribute setters for DebugNanCount.

Public attributes

output

::tensorflow::Output output

Public functions

DebugNanCount

 DebugNanCount(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input
)

DebugNanCount

 DebugNanCount(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  const DebugNanCount::Attrs & attrs
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

Public static functions

DebugUrls

Attrs DebugUrls(
  const gtl::ArraySlice< string > & x
)

TensorName

Attrs TensorName(
  StringPiece x
)

© 2017 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/api_docs/cc/class/tensorflow/ops/debug-nan-count.html