Skip to content

Head components

Use these head:name targets in configuration _target_ fields. Add the defining module to _imports_ to register a component explicitly. Method components and benchmark probes require these imports.

Target Description
head:linear No description.
head:mlp Multi-layer perceptron: Linear-ReLU-...-Linear. Used as the

head:linear

No description.

Defining module / _imports_: egolearn.model.heads.

LinearHead(in_dim: int, out_dim: int, bias: bool = True)

head:mlp

Multi-layer perceptron: Linear-ReLU-...-Linear. Used as the

Defining module / _imports_: egolearn.model.heads.

MLPHead(sizes: list[int])