# tensorflow::ops::FusedBatchNormGradV3::Attrs Struct Reference

# tensorflow::ops::FusedBatchNormGradV3::Attrs

`#include <nn_ops.h>`

Optional attribute setters for [FusedBatchNormGradV3](https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/ops/fused-batch-norm-grad-v3#classtensorflow_1_1ops_1_1_fused_batch_norm_grad_v3).

## Summary

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/fused-batch-norm-grad-v3/attrs#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_v3_1_1_attrs_1a1e9b396bca7ac76c9f4cd713c02c3b30 = "NHWC"` | `StringPiece` |
| `https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/fused-batch-norm-grad-v3/attrs#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_v3_1_1_attrs_1ad1d4ad184203580c07baab6589232268 = 0.0001f` | `float` |
| `https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/fused-batch-norm-grad-v3/attrs#structtensorflow_1_1ops_1_1_fused_batch_norm_grad_v3_1_1_attrs_1addb2755bb1e2276516f46691383f4a5f = true` | `bool` |

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

## Public attributes

### data_format_

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

### epsilon_

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

### is_training_

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

## Public functions

### DataFormat

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::FusedBatchNormGradV3::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::FusedBatchNormGradV3::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::FusedBatchNormGradV3::Attrs::IsTraining(
  bool x
)
```
A bool value to indicate the operation is for training (default) or inference.

Defaults to true