# core.HasOutputCheck

``` python
core.HasOutputCheck()
```

Checks the model’s outputs before any data is fitted.

For example, a shaped parameter that must fit the event shape. The probe calls it once on the outputs of its plain forward (the first two examples of the first batch, under `no_grad`, outside any `torch.func` transform), with or without targets, before it tries any transform. Whatever it raises propagates from the probe, never recorded as a missing capability.

## Methods

| Name | Description |
|----|----|
| [check_outputs](#laplacekit.core.HasOutputCheck.check_outputs) | Check the model’s outputs. |

### check_outputs

``` python
core.HasOutputCheck.check_outputs(f, /)
```

Check the model’s outputs.

#### Parameters

| Name | Type    | Description                           | Default    |
|------|---------|---------------------------------------|------------|
| f    | Outputs | Outputs of the probe’s plain forward. | *required* |

#### Raises

| Name | Type           | Description                                 |
|------|----------------|---------------------------------------------|
|      | StructureError | The likelihood can’t take outputs like `f`. |
