# LayerInfo

``` python
LayerInfo(type, positions, parameters, a, g, mask)
```

One layer the front door computes for.

## Attributes

| Name | Type | Description |
|----|----|----|
| type | str | The module’s type name, `"Linear"` say. |
| positions | int | `T`, the positions per example of its input on the first batch (tokens, pixels of a convolution’s output; 1 for `[N, D]`). |
| parameters | int | The number of entries of its weight and bias. |
| a | int | The size of KFAC’s input factor `A`, the bias column included. |
| g | int | The size of KFAC’s output-gradient factor `G`. |
| mask | str | Which mask applies to its positions: `"position_mask"`, `"output"` (the likelihood’s output mask), `"position_mask and output"`, `"examples with a kept output"` (all its positions, of the examples with an unmasked output), or `"none"`. |
