# tensorflow::ops::FusedBatchNormGrad::Attrs

`#include <nn_ops.h>`

Optional attribute setters for [FusedBatchNormGrad](https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/ops/fused-batch-norm-grad#classtensorflow_1_1ops_1_1_fused_batch_norm_grad).

## Summary

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/fused-batch-norm-grad/attrs#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_1_1_attrs_1ae71b771b9db0665a44fd75b59c61fc51 = "NHWC"` | `StringPiece` |
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/fused-batch-norm-grad/attrs#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_1_1_attrs_1aef11a50c6322301c92a348df3693d53c = 0.0001f` | `float` |
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/fused-batch-norm-grad/attrs#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_1_1_attrs_1a8c4f68d91902210a40cf26c38a9fe335 = true` | `bool` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/fused-batch-norm-grad/attrs#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_1_1_attrs_1a10fee31a9497e546fc437360f4cf364f(StringPiece x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/fused-batch-norm-grad/attrs#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_1_1_attrs` The data format for y_backprop, x, x_backprop. |
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/fused-batch-norm-grad/attrs#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_1_1_attrs_1a5f91a98450585e0951d1b1570469bf1c(float x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/fused-batch-norm-grad/attrs#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_1_1_attrs` A small float number added to the variance of x. |
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/fused-batch-norm-grad/attrs#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_1_1_attrs_1a10e394de95847f572463091909294af3(bool x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/fused-batch-norm-grad/attrs#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_1_1_attrs` A bool value to indicate the operation is for training (default) or inference. |

## Public attributes

### data_format_

```
StringPiece tensorflow::ops::FusedBatchNormGrad::Attrs::data_format_ = "NHWC"
```

### epsilon_

```
float tensorflow::ops::FusedBatchNormGrad::Attrs::epsilon_ = 0.0001f
```

### is_training_

```
bool tensorflow::ops::FusedBatchNormGrad::Attrs::is_training_ = true
```

## Public functions

### DataFormat

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNormGrad::Attrs::DataFormat(
  StringPiece x
)
```
The data format for y_backprop, x, x_backprop.

Either "NHWC" (default) or "NCHW".

Defaults to "NHWC"

### Epsilon

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNormGrad::Attrs::Epsilon(
  float x
)
```
A small float number added to the variance of x.

Defaults to 0.0001

### IsTraining

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNormGrad::Attrs::IsTraining(
  bool x
)
```
A bool value to indicate the operation is for training (default) or inference.

Defaults to true