ScaleLinear
- class lightning_ir.models.cross_encoders.mono.ScaleLinear(in_features: int, out_features: int, bias: bool = True, device=None, dtype=None)[source]
Bases:
LinearMethods
forward(input)Runs the forward pass.
Attributes
in_featuresout_featuresweighttraining- forward(input: Tensor) Tensor[source]
Runs the forward pass.