# CaptureError

``` python
CaptureError()
```

A requested layer could not be captured.

The layer runs other than once in the forward pass, shares its parameters with another requested layer, sees a different batch size than the output, or is not reached by the output. Also raised when the model returns something other than a tensor.
