# pllm.protocols.masked_linear Python API

Public objects, practical usage, and research context for pllm.protocols.masked_linear.

[View canonical HTML](https://pllm.run/sdk/reference/python/pllm/protocols-masked-linear/)

Document ID: `pllm.docs.reference.python.pllm.protocols.masked-linear`  
Release: `0.1.0`

Masked-linear records configure the public-weight prepared protocol and its optional trusted-client Freivalds verification contract. Presence documents API availability, not complete model, security, or deployment coverage; check [implementation status](/sdk/reference/status/) before relying on a path.

## Research context

Relevant design inputs: [Slalom](/research/papers/r07-slalom/). PLLM's implementation and evidence claims remain independent.

## Python SDK example

The example performs a bounded offline task and checks an observable result. It does not download a checkpoint or contact a provider.

```python
import pllm.protocols.masked_linear as masked_linear

method = masked_linear.MaskedLinear()
assert method.to_spec() == {"component": "pllm/masked-linear", "params": {}}
```

API: [`pllm.protocols.masked_linear`](/sdk/reference/python/pllm/protocols-masked-linear/#objects-and-signatures)

## Objects and signatures

### `MaskedLinear`

Selects component `pllm/masked-linear` during `compilation`; it provides `masked-linear` for roles client, preparation, inference.

- Canonical object: `pllm.protocols.masked_linear.MaskedLinear`
- Kind: `class`
- Signature/type: `__init__(self) -> None`
- Public exports: `pllm.MaskedLinear`, `pllm.protocols.MaskedLinear`, `pllm.protocols.masked_linear.MaskedLinear`
- Public members: `descriptor: ComponentDescriptor`; `__init__(self) -> None`; `classmethod describe(cls) -> ComponentDescriptor`
