diff --git a/src/mlpack/methods/ann/layer/multihead_attention.hpp b/src/mlpack/methods/ann/layer/multihead_attention.hpp index fa665ca0d1..a6f294dad5 100644 --- a/src/mlpack/methods/ann/layer/multihead_attention.hpp +++ b/src/mlpack/methods/ann/layer/multihead_attention.hpp @@ -180,8 +180,8 @@ class MultiheadAttentionType : public Layer srcSeqLen = this->inputDimensions[1]; if (embedDim % numHeads != 0) { - Log::Fatal << "Embedding dimension must be divisible by number of \ - attention heads." << std::endl; + Log::Fatal << "Embedding dimension must be divisible by number of " + << "attention heads." << std::endl; } headDim = embedDim / numHeads;