pllm
SDK
Pythonpllm

pllm.protocols.masked_linear Python API

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

PLLM documentationView Markdown ↗

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 before relying on a path.

Research context

Relevant design inputs: 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.

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

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

Loading documentation index…

Search runs locally in this browser.