W3cubDocs

/TensorFlow C++

tensorflow::ops::DebugNumericSummary

#include <array_ops.h>

Debug Numeric Summary Op.

Summary

Provide a basic summary of numeric value types, range and distribution.

Arguments:

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

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: A double tensor of shape [12], the elements of which are: [0]: is initialized (1.0) or not (0.0). [1]: total number of elements [2]: -inf count [3]: negative element count (excluding -inf) [4]: zero element count [5]: positive element count (excluding +inf) [6]: +inf element count [7]: NaN element count Output elements [1:8] are all zero, if the tensor is uninitialized. [8]: minimum of all non-inf and non-NaN elements. If uninitialized or no such element exists: +inf. [9]: maximum of all non-inf and non-NaN elements. If uninitialized or no such element exists: -inf. [10]: mean of all non-inf and non-NaN elements. If uninitialized or no such element exists: NaN. [11]: variance of all non-inf and non-NaN elements. If uninitialized or no such element exists: NaN.
Constructors and Destructors
DebugNumericSummary(const ::tensorflow::Scope & scope, ::tensorflow::Input input)
DebugNumericSummary(const ::tensorflow::Scope & scope, ::tensorflow::Input input, const DebugNumericSummary::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::DebugNumericSummary::Attrs

Optional attribute setters for DebugNumericSummary.

Public attributes

output

::tensorflow::Output output

Public functions

DebugNumericSummary

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

DebugNumericSummary

 DebugNumericSummary(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  const DebugNumericSummary::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-numeric-summary.html