Source: src/olm/nn/structure/combinators/base.py:1
Classes
BaseCombinator()
Bases: Module, ABC
Source: src/olm/nn/structure/combinators/base.py:5
Abstract base class for combinator modules.
Subclasses implement forward to define how inputs are combined.
Methods
forward(self, x: torch.Tensor) -> torch.Tensor
Source: src/olm/nn/structure/combinators/base.py:15
Compute the combinator output from an input tensor.
Parameters
x: Input tensor.
Returns
Output tensor produced by the combinator.