Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/marian.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/rnn/attention_constructors.h')
-rw-r--r--src/rnn/attention_constructors.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rnn/attention_constructors.h b/src/rnn/attention_constructors.h
index a878f57f..4ad1975e 100644
--- a/src/rnn/attention_constructors.h
+++ b/src/rnn/attention_constructors.h
@@ -33,6 +33,7 @@ public:
}
};
+/** A convenient typedef for constructing RNN attention layers. */
typedef Accumulator<AttentionFactory> attention;
} // namespace rnn
} // namespace marian