# DebugNumericSummary

public final class **DebugNumericSummary** Debug Numeric Summary Op.


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


output: A double tensor of shape \[14 + nDimensions\], where nDimensions is the
number of dimensions of the tensor's shape. The elements of output are:
\[0\]: is initialized (1.0) or not (0.0).
\[1\]: total number of elements
\[2\]: NaN element count
\[3\]: generalized -inf count: elements \<= lower_bound. lower_bound is -inf by
default.
\[4\]: negative element count (excluding -inf), if lower_bound is the default
-inf. Otherwise, this is the count of elements \> lower_bound and \< 0.
\[5\]: zero element count
\[6\]: positive element count (excluding +inf), if upper_bound is the default
+inf. Otherwise, this is the count of elements \< upper_bound and \> 0.
\[7\]: generalized +inf count, elements \>= upper_bound. upper_bound is +inf by
default.
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.
\[12\]: Data type of the tensor encoded as an enum integer. See the DataType
proto for more details.
\[13\]: Number of dimensions of the tensor (ndims).
\[14+\]: Sizes of the dimensions.

<br />

<br />

### Nested Classes

|---|---|---|---|
| class | [DebugNumericSummary.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary.Options) || Optional attributes for `https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary` |

### Public Methods

|---|---|
| [Output](https://www.tensorflow.org/api_docs/java/org/tensorflow/Output)\<Double\> | [asOutput](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary#asOutput())() Returns the symbolic handle of a tensor. |
| static \<T\> [DebugNumericSummary](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary) | [create](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary#create(org.tensorflow.op.Scope,%20org.tensorflow.Operand<T>,%20org.tensorflow.op.core.DebugNumericSummary.Options...))([Scope](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/Scope) scope, [Operand](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operand)\<T\> input, [Options...](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary.Options) options) Factory method to create a class wrapping a new DebugNumericSummary operation. |
| static [DebugNumericSummary.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary.Options) | [debugUrls](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary#debugUrls(java.util.List<java.lang.String>))(List\<String\> debugUrls) |
| static [DebugNumericSummary.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary.Options) | [deviceName](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary#deviceName(java.lang.String))(String deviceName) |
| static [DebugNumericSummary.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary.Options) | [gatedGrpc](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary#gatedGrpc(java.lang.Boolean))(Boolean gatedGrpc) |
| static [DebugNumericSummary.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary.Options) | [lowerBound](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary#lowerBound(java.lang.Float))(Float lowerBound) |
| static [DebugNumericSummary.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary.Options) | [muteIfHealthy](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary#muteIfHealthy(java.lang.Boolean))(Boolean muteIfHealthy) |
| [Output](https://www.tensorflow.org/api_docs/java/org/tensorflow/Output)\<Double\> | [output](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary#output())() |
| static [DebugNumericSummary.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary.Options) | [tensorName](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary#tensorName(java.lang.String))(String tensorName) |
| static [DebugNumericSummary.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary.Options) | [upperBound](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary#upperBound(java.lang.Float))(Float upperBound) |

### Inherited Methods

From class [org.tensorflow.op.PrimitiveOp](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/PrimitiveOp)

|---|---|
| final boolean | [equals](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/PrimitiveOp#equals(java.lang.Object))(Object obj) |
| final int | [hashCode](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/PrimitiveOp#hashCode())() |
| [Operation](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operation) | [op](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/PrimitiveOp#op())() Returns the underlying `https://www.tensorflow.org/api_docs/java/org/tensorflow/Operation` |
| final String | [toString](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/PrimitiveOp#toString())() |

From class java.lang.Object

|---|---|
| boolean | equals(Object arg0) |
| final Class\<?\> | getClass() |
| int | hashCode() |
| final void | notify() |
| final void | notifyAll() |
| String | toString() |
| final void | wait(long arg0, int arg1) |
| final void | wait(long arg0) |
| final void | wait() |

From interface [org.tensorflow.Operand](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operand)

|---|---|
| abstract [Output](https://www.tensorflow.org/api_docs/java/org/tensorflow/Output)\<Double\> | [asOutput](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operand#asOutput())() Returns the symbolic handle of a tensor. |

## Public Methods

#### public [Output](https://www.tensorflow.org/api_docs/java/org/tensorflow/Output)\<Double\>
**asOutput**
()

Returns the symbolic handle of a tensor.

Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is
used to obtain a symbolic handle that represents the computation of the input.

<br />

#### public static [DebugNumericSummary](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary)
**create**
([Scope](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/Scope) scope, [Operand](https://www.tensorflow.org/api_docs/java/org/tensorflow/Operand)\<T\> input, [Options...](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary.Options) options)

Factory method to create a class wrapping a new DebugNumericSummary operation.

##### Parameters

| scope | current scope |
| input | Input tensor, non-Reference type. |
| options | carries optional attributes values |
|---|---|

##### Returns

- a new instance of DebugNumericSummary

#### public static [DebugNumericSummary.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary.Options)
**debugUrls**
(List\<String\> debugUrls)

<br />

##### Parameters

| debugUrls | List of URLs to debug targets, e.g., file:///foo/tfdbg_dump, grpc:://localhost:11011. |
|---|---|

#### public static [DebugNumericSummary.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary.Options)
**deviceName**
(String deviceName)

<br />

#### public static [DebugNumericSummary.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary.Options)
**gatedGrpc**
(Boolean gatedGrpc)

<br />

##### Parameters

| gatedGrpc | 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. |
|---|---|

#### public static [DebugNumericSummary.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary.Options)
**lowerBound**
(Float lowerBound)

<br />

##### Parameters

| lowerBound | (float) The lower bound \<= which values will be included in the generalized -inf count. Default: -inf. |
|---|---|

#### public static [DebugNumericSummary.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary.Options)
**muteIfHealthy**
(Boolean muteIfHealthy)

<br />

##### Parameters

| muteIfHealthy | (bool) Do not send data to the debug URLs unless at least one of elements \[2\], \[3\] and \[7\] (i.e., the nan count and the generalized -inf and inf counts) is non-zero. |
|---|---|

#### public [Output](https://www.tensorflow.org/api_docs/java/org/tensorflow/Output)\<Double\>
**output**
()

<br />

#### public static [DebugNumericSummary.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary.Options)
**tensorName**
(String tensorName)

<br />

##### Parameters

| tensorName | Name of the input tensor. |
|---|---|

#### public static [DebugNumericSummary.Options](https://www.tensorflow.org/api_docs/java/org/tensorflow/op/core/DebugNumericSummary.Options)
**upperBound**
(Float upperBound)

<br />

##### Parameters

| upperBound | (float) The upper bound \>= which values will be included in the generalized +inf count. Default: +inf. |
|---|---|