Concatenates a CLS token to the input as the last feature.
The input shape is expected to be (batch, n_features, d_token)
and the output shape is
(batch, n_features + 1, d_token)
.
This is used in the LearnerTorchFTTransformer
.
Concatenates a CLS token to the input as the last feature.
The input shape is expected to be (batch, n_features, d_token)
and the output shape is
(batch, n_features + 1, d_token)
.
This is used in the LearnerTorchFTTransformer
.