# Nn Ops

# Nn Ops

## Summary

| ### Classes ||
|---|---|
| [tensorflow:: ops:: AvgPool](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/avg-pool) | Performs average pooling on the input. |
| [tensorflow:: ops:: AvgPool3D](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/avg-pool3-d) | Performs 3D average pooling on the input. |
| [tensorflow:: ops:: AvgPool3DGrad](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/avg-pool3-d-grad) | Computes gradients of average pooling function. |
| [tensorflow:: ops:: BiasAdd](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/bias-add) | Adds ` bias ` to ` value ` . |
| [tensorflow:: ops:: BiasAddGrad](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/bias-add-grad) | The backward operation for "BiasAdd" on the "bias" tensor. |
| [tensorflow:: ops:: Conv2D](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/conv2-d) | Computes a 2-D convolution given 4-D ` input ` and ` filter ` tensors. |
| [tensorflow:: ops:: Conv2DBackpropFilter](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/conv2-d-backprop-filter) | Computes the gradients of convolution with respect to the filter. |
| [tensorflow:: ops:: Conv2DBackpropInput](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/conv2-d-backprop-input) | Computes the gradients of convolution with respect to the input. |
| [tensorflow:: ops:: Conv3D](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/conv3-d) | Computes a 3-D convolution given 5-D ` input ` and ` filter ` tensors. |
| [tensorflow:: ops:: Conv3DBackpropFilterV2](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/conv3-d-backprop-filter-v2) | Computes the gradients of 3-D convolution with respect to the filter. |
| [tensorflow:: ops:: Conv3DBackpropInputV2](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/conv3-d-backprop-input-v2) | Computes the gradients of 3-D convolution with respect to the input. |
| [tensorflow:: ops:: DataFormatDimMap](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/data-format-dim-map) | Returns the dimension index in the destination data format given the one in. |
| [tensorflow:: ops:: DataFormatVecPermute](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/data-format-vec-permute) | Permute input tensor from ` src_format ` to ` dst_format ` . |
| [tensorflow:: ops:: DepthwiseConv2dNative](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/depthwise-conv2d-native) | Computes a 2-D depthwise convolution given 4-D ` input ` and ` filter ` tensors. |
| [tensorflow:: ops:: DepthwiseConv2dNativeBackpropFilter](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/depthwise-conv2d-native-backprop-filter) | Computes the gradients of depthwise convolution with respect to the filter. |
| [tensorflow:: ops:: DepthwiseConv2dNativeBackpropInput](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/depthwise-conv2d-native-backprop-input) | Computes the gradients of depthwise convolution with respect to the input. |
| [tensorflow:: ops:: Dilation2D](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/dilation2-d) | Computes the grayscale dilation of 4-D ` input ` and 3-D ` filter ` tensors. |
| [tensorflow:: ops:: Dilation2DBackpropFilter](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/dilation2-d-backprop-filter) | Computes the gradient of morphological 2-D dilation with respect to the filter. |
| [tensorflow:: ops:: Dilation2DBackpropInput](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/dilation2-d-backprop-input) | Computes the gradient of morphological 2-D dilation with respect to the input. |
| [tensorflow:: ops:: Elu](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/elu) | Computes the exponential linear function. |
| [tensorflow:: ops:: FractionalAvgPool](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/fractional-avg-pool) | Performs fractional average pooling on the input. |
| [tensorflow:: ops:: FractionalMaxPool](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/fractional-max-pool) | Performs fractional max pooling on the input. |
| [tensorflow:: ops:: FusedBatchNorm](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/fused-batch-norm) | Batch normalization. |
| [tensorflow:: ops:: FusedBatchNormGrad](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/fused-batch-norm-grad) | Gradient for batch normalization. |
| [tensorflow:: ops:: FusedBatchNormGradV2](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/fused-batch-norm-grad-v2) | Gradient for batch normalization. |
| [tensorflow:: ops:: FusedBatchNormGradV3](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/fused-batch-norm-grad-v3) | Gradient for batch normalization. |
| [tensorflow:: ops:: FusedBatchNormV2](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/fused-batch-norm-v2) | Batch normalization. |
| [tensorflow:: ops:: FusedBatchNormV3](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/fused-batch-norm-v3) | Batch normalization. |
| [tensorflow:: ops:: FusedPadConv2D](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/fused-pad-conv2-d) | Performs a padding as a preprocess during a convolution. |
| [tensorflow:: ops:: FusedResizeAndPadConv2D](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/fused-resize-and-pad-conv2-d) | Performs a resize and padding as a preprocess during a convolution. |
| [tensorflow:: ops:: InTopK](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/in-top-k) | Says whether the targets are in the top ` K ` predictions. |
| [tensorflow:: ops:: InTopKV2](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/in-top-k-v2) | Says whether the targets are in the top ` K ` predictions. |
| [tensorflow:: ops:: L2Loss](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/l2-loss) | L2 Loss. |
| [tensorflow:: ops:: LRN](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/l-r-n) | Local Response Normalization. |
| [tensorflow:: ops:: LogSoftmax](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/log-softmax) | Computes log softmax activations. |
| [tensorflow:: ops:: MaxPool](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/max-pool) | Performs max pooling on the input. |
| [tensorflow:: ops:: MaxPool3D](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/max-pool3-d) | Performs 3D max pooling on the input. |
| [tensorflow:: ops:: MaxPool3DGrad](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/max-pool3-d-grad) | Computes gradients of 3D max pooling function. |
| [tensorflow:: ops:: MaxPool3DGradGrad](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/max-pool3-d-grad-grad) | Computes second-order gradients of the maxpooling function. |
| [tensorflow:: ops:: MaxPoolGradGrad](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/max-pool-grad-grad) | Computes second-order gradients of the maxpooling function. |
| [tensorflow:: ops:: MaxPoolGradGradV2](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/max-pool-grad-grad-v2) | Computes second-order gradients of the maxpooling function. |
| [tensorflow:: ops:: MaxPoolGradGradWithArgmax](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/max-pool-grad-grad-with-argmax) | Computes second-order gradients of the maxpooling function. |
| [tensorflow:: ops:: MaxPoolGradV2](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/max-pool-grad-v2) | Computes gradients of the maxpooling function. |
| [tensorflow:: ops:: MaxPoolV2](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/max-pool-v2) | Performs max pooling on the input. |
| [tensorflow:: ops:: MaxPoolWithArgmax](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/max-pool-with-argmax) | Performs max pooling on the input and outputs both max values and indices. |
| [tensorflow:: ops:: NthElement](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/nth-element) | Finds values of the ` n ` -th order statistic for the last dimension. |
| [tensorflow:: ops:: QuantizedAvgPool](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/quantized-avg-pool) | Produces the average pool of the input tensor for quantized types. |
| [tensorflow:: ops:: QuantizedBatchNormWithGlobalNormalization](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/quantized-batch-norm-with-global-normalization) | Quantized Batch normalization. |
| [tensorflow:: ops:: QuantizedBiasAdd](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/quantized-bias-add) | Adds [Tensor](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor) 'bias' to [Tensor](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor) 'input' for Quantized types. |
| [tensorflow:: ops:: QuantizedConv2D](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/quantized-conv2-d) | Computes a 2D convolution given quantized 4D input and filter tensors. |
| [tensorflow:: ops:: QuantizedMaxPool](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/quantized-max-pool) | Produces the max pool of the input tensor for quantized types. |
| [tensorflow:: ops:: QuantizedRelu](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/quantized-relu) | Computes Quantized Rectified Linear: ` max(features, 0) ` |
| [tensorflow:: ops:: QuantizedRelu6](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/quantized-relu6) | Computes Quantized Rectified Linear 6: ` min(max(features, 0), 6) ` |
| [tensorflow:: ops:: QuantizedReluX](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/quantized-relu-x) | Computes Quantized Rectified Linear X: ` min(max(features, 0), max_value) ` |
| [tensorflow:: ops:: Relu](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/relu) | Computes rectified linear: ` max(features, 0) ` . |
| [tensorflow:: ops:: Relu6](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/relu6) | Computes rectified linear 6: ` min(max(features, 0), 6) ` . |
| [tensorflow:: ops:: Selu](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/selu) | Computes scaled exponential linear: ` scale * alpha * (exp(features) - 1) ` |
| [tensorflow:: ops:: Softmax](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/softmax) | Computes softmax activations. |
| [tensorflow:: ops:: SoftmaxCrossEntropyWithLogits](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/softmax-cross-entropy-with-logits) | Computes softmax cross entropy cost and gradients to backpropagate. |
| [tensorflow:: ops:: Softplus](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/softplus) | TODO: add doc. |
| [tensorflow:: ops:: Softsign](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/softsign) | Computes softsign: ` features / (abs(features) + 1) ` . |
| [tensorflow:: ops:: SparseSoftmaxCrossEntropyWithLogits](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/sparse-softmax-cross-entropy-with-logits) | Computes softmax cross entropy cost and gradients to backpropagate. |
| [tensorflow:: ops:: TopK](https://www.tensorflow.org/versions/r2.6/api_docs/cc/class/tensorflow/ops/top-k) | Finds values and indices of the ` k ` largest elements for the last dimension. |