---
title: "Dropout2d"
sidebar_label: "Dropout2d"
description: "The clika_runtime.nn Dropout2d class."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

Dropout2d(p=0.5, inplace=False)

    Zero whole channels of a channels-last 2-d feature map, ``(N, H, W, C)``
    or ``(H, W, C)``, with probability ``p`` and scale the rest by
    ``1 / (1 - p)`` while training; the identity in evaluation mode.
    

## `forward`

```python
forward(self, input: 'Tensor') -> 'Tensor'
```

forward(input) -> Tensor
