Python
- opennmt
- opennmt.data
- Noise
- Vocab
- WordDropout
- WordNoiser
- WordOmission
- WordPermutation
- WordReplacement
- alignment_matrix_from_pharaoh
- batch_dataset
- batch_sequence_dataset
- create_lookup_tables
- filter_examples_by_length
- filter_irregular_batches
- get_dataset_size
- inference_pipeline
- make_cardinality_multiple_of
- random_shard
- shuffle_dataset
- tokens_to_chars
- tokens_to_words
- training_pipeline
- opennmt.decoders
- opennmt.encoders
- opennmt.inputters
- opennmt.layers
- Bridge
- ConcatReducer
- CopyBridge
- Dense
- DenseBridge
- DenseReducer
- FeedForwardNetwork
- JoinReducer
- LSTM
- LayerNorm
- LayerWrapper
- MultiHeadAttention
- MultiHeadAttentionReduction
- MultiplyReducer
- PositionEmbedder
- PositionEncoder
- RNN
- RNNCellWrapper
- Reducer
- SelfAttentionDecoderLayer
- SelfAttentionEncoderLayer
- SinusoidalPositionEncoder
- SumReducer
- TransformerLayerWrapper
- ZeroBridge
- combine_heads
- dropout
- future_mask
- gelu
- make_rnn_cell
- split_heads
- opennmt.models
- ClassInputter
- EmbeddingsSharingLevel
- GPT2Small
- LanguageModel
- LanguageModelInputter
- ListenAttendSpell
- LstmCnnCrfTagger
- LuongAttention
- Model
- ScalingNmtEnDe
- ScalingNmtEnFr
- SequenceClassifier
- SequenceGenerator
- SequenceTagger
- SequenceToSequence
- SequenceToSequenceInputter
- TagsInputter
- Transformer
- TransformerBase
- TransformerBaseRelative
- TransformerBaseSharedEmbeddings
- TransformerBig
- TransformerBigRelative
- TransformerBigSharedEmbeddings
- TransformerTiny
- get_model_from_catalog
- register_model_in_catalog
- opennmt.optimizers
- opennmt.schedules
- opennmt.tokenizers
- opennmt.utils
- BLEUScorer
- BeamSearch
- BestSampler
- CTranslate2Exporter
- CTranslate2Float16Exporter
- CTranslate2Int16Exporter
- CTranslate2Int8Exporter
- CTranslate2Int8Float16Exporter
- CheckpointExporter
- DecodingResult
- DecodingStrategy
- Exporter
- GreedySearch
- PRFScorer
- ROUGEScorer
- RandomSampler
- Sampler
- SavedModelExporter
- Scorer
- TERScorer
- TFLiteExporter
- TFLiteFloat16Exporter
- WERScorer
- average_checkpoints
- average_checkpoints_into_layer
- cross_entropy_loss
- cross_entropy_sequence_loss
- dynamic_decode
- format_translation_output
- guided_alignment_cost
- is_v1_checkpoint
- make_scorers
- max_margin_loss
- register_exporter
- register_scorer
- regularization_penalty
- roll_sequence