# Logging Ops

# Logging Ops

## Summary

| ### Variables ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/group/logging-ops#group__logging__ops_1gaa040a0822bb03b07856bbe4c3e5127c5` | `audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag *tag etc **` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/group/logging-ops#group__logging__ops_1ga65d7ebf0274699b2d64b24b67c035e59` | `audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag *` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/group/logging-ops#group__logging__ops_1gafd756df725c5b0089be916a30f635431 = Input::Initializer({255, 0, 0, 255}, {4}).AsTensorProto()` | `TensorProto` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/group/logging-ops#group__logging__ops_1ga85e7dc53b6506cd9c3c658f9fdf5ea53` | `image **If max_images is greater the summary value tags are *generated sequentially as *tag *` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/group/logging-ops#group__logging__ops_1ga040606df10cca932d89a77ac9cb8df11 = 3` | `int64` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/group/logging-ops#group__logging__ops_1gaab9dcd615e7a411c753129c41d70de9e = x` | `ret` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/group/logging-ops#group__logging__ops_1gaa6c3cc9394c1341fe26e89ab95c86a4a` | `Operation` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/group/logging-ops#group__logging__ops_1ga9384efccdd5ddf0d91d45e6c07ec74a3` | `return` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/group/logging-ops#group__logging__ops_1gac5f0ed1ac243df5eb5c8c01c734a5551` | `audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag *tag etc frames **` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/group/logging-ops#group__logging__ops_1ga9c084831edc827b81bc2343b019d02cb` | `::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/group/logging-ops#group__logging__ops_1ga443e7a28df492f4a0a6adc6f3d57919c` | `audio **If max_outputs is greater` Outputs a `Summary` protocol buffer with audio. |

| ### Functions ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/group/logging-ops#group__logging__ops_1ga8aed7a42d0ca30d3a3ab4ccd255ce67e(const ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope & scope, ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input tag, ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input tensor, ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input sample_rate)` | ` `` ` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/group/logging-ops#group__logging__ops_1ga09af34bc2ffdb04cf50a99dc80af1270(const ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope & scope, ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input tag, ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input tensor, ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input sample_rate, const AudioSummary::Attrs & attrs)` | ` `` ` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/group/logging-ops#group__logging__ops_1ga7176bae75b2c957dad310936ece963e0(const TensorProto & x)` | `TF_MUST_USE_RESULT Attrs` Color to use for pixels with non-finite values. |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/group/logging-ops#group__logging__ops_1ga2a33be603203e103a752eb85bb18ee8a(const ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope & scope, ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input tag, ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input tensor)` | ` `` ` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/group/logging-ops#group__logging__ops_1ga8c0191c0b683fa90ad82e001da1f090a(const ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope & scope, ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input tag, ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input tensor, const ImageSummary::Attrs & attrs)` | ` `` ` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/group/logging-ops#group__logging__ops_1ga882604c458700a6464ff6fc98c06a418(int64 x)` | `Attrs` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/group/logging-ops#group__logging__ops_1gab25b29f077c1f74d45026b1078f33359(int64 x)` | `Attrs` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/group/logging-ops#group__logging__ops_1ga9d6a6481d9f898bf8f65bb7ceeee1825() const ` | `::tensorflow::Node *` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/group/logging-ops#group__logging__ops_1gaef72c3599d7080731b33b33540d88b94(It represents the value of a *pixel in the output image).Non-finite values in the input tensor are *replaced by this tensor in the output image.The default value is the color *red.**Arguments` | `image **If max_images is greater the summary value tags are *generated sequentially as *tag *tag etc **The bad_color argument is the color to use in the generated images for *non finite input values It is a uint8 D tensor of length channels *Each element must be in the` [Max](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/max#classtensorflow_1_1ops_1_1_max) number of batch elements to generate images for. |

| ### Classes ||
|---|---|
| [tensorflow::ops::Assert](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/assert) | Asserts that the given condition is true. |
| [tensorflow::ops::HistogramSummary](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/histogram-summary) | Outputs a `Summary` protocol buffer with a histogram. |
| [tensorflow::ops::MergeSummary](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/merge-summary) | Merges summaries. |
| [tensorflow::ops::Print](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/print) | Prints a list of tensors. |
| [tensorflow::ops::PrintV2](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/print-v2) | Prints a string scalar. |
| [tensorflow::ops::ScalarSummary](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/scalar-summary) | Outputs a `Summary` protocol buffer with scalar values. |
| [tensorflow::ops::TensorSummary](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/tensor-summary) | Outputs a `Summary` protocol buffer with a tensor. |
| [tensorflow::ops::TensorSummaryV2](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/tensor-summary-v2) | Outputs a `Summary` protocol buffer with a tensor and per-plugin data. |
| [tensorflow::ops::Timestamp](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/timestamp) | Provides the time since epoch in seconds. |

## Variables

### Arguments

```
audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag *tag etc ** Arguments
```

### audio

```
audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag * audio
```

### bad_color_

```
TensorProto bad_color_ = Input::Initializer({255, 0, 0, 255}, {4}).AsTensorProto()
```

### image

```
image **If max_images is greater the summary value tags are *generated sequentially as *tag * image
```

### max_images_

```
int64 max_images_ = 3
```

### max_outputs_

```
ret max_outputs_ = x
```

### operation

```
Operation operation
```

### ret

```
return ret
```

### sample_rate

```
audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag *tag etc frames ** sample_rate
```

### summary

```
::tensorflow::Output summary
```

### than

```
audio **If max_outputs is greater than
```
Outputs a `Summary` protocol buffer with audio.

Outputs a `Summary` protocol buffer with images.

The summary has up to `max_outputs` summary values containing audio. The audio is built from `tensor` which must be 3-D with shape `[batch_size, frames, channels]` or 2-D with shape `[batch_size, frames]`. The values are assumed to be in the range of `[-1.0, 1.0]` with a sample rate of `sample_rate`.

The `tag` argument is a scalar `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor` of type `string`. It is used to build the `tag` of the summary values:


- If `max_outputs` is 1, the summary value tag is '\*tag

<br />

The summary has up to `max_images` summary values containing images. The images are built from `tensor` which must be 4-D with shape `[batch_size, height, width, channels]` and where `channels` can be:


- 1: `tensor` is interpreted as Grayscale.
- 3: `tensor` is interpreted as RGB.
- 4: `tensor` is interpreted as RGBA.

<br />

The images have the same number of channels as the input tensor. For float input, the values are normalized one image at a time to fit in the range `[0, 255]`. `uint8` values are unchanged. The op uses two different normalization algorithms:


- If the input values are all positive, they are rescaled so the largest one is 255.
- If any input value is negative, the values are shifted so input value 0.0 is at 127. They are then rescaled so that either the smallest value is 0, or the largest one is 255.

<br />

The `tag` argument is a scalar `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor` of type `string`. It is used to build the `tag` of the summary values:


- If `max_images` is 1, the summary value tag is '\*tag

<br />

## Functions

### AudioSummary

```
 AudioSummary(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input tag,
  ::tensorflow::Input tensor,
  ::tensorflow::Input sample_rate
)
```

### AudioSummary

```
 AudioSummary(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input tag,
  ::tensorflow::Input tensor,
  ::tensorflow::Input sample_rate,
  const AudioSummary::Attrs & attrs
)
```

### BadColor

```
TF_MUST_USE_RESULT Attrs BadColor(
  const TensorProto & x
)
```
Color to use for pixels with non-finite values.

Defaults to Tensor

### ImageSummary

```
 ImageSummary(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input tag,
  ::tensorflow::Input tensor
)
```

### ImageSummary

```
 ImageSummary(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input tag,
  ::tensorflow::Input tensor,
  const ImageSummary::Attrs & attrs
)
```

### MaxImages

```
Attrs MaxImages(
  int64 x
)
```

### MaxOutputs

```
Attrs MaxOutputs(
  int64 x
)
```

### node

```
::tensorflow::Node * node() const 
```

### range

```
image **If max_images is greater the summary value tags are *generated sequentially as *tag *tag etc **The bad_color argument is the color to use in the generated images for *non finite input values It is a uint8 D tensor of length channels *Each element must be in the range(
  It represents the value of a *pixel in the output image
).Non-finite values in the input tensor are *replaced by this tensor in the output image.The default value is the color *red.**Arguments
```
[Max](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/max#classtensorflow_1_1ops_1_1_max) number of batch elements to generate images for.

Defaults to 3