Skip to content
Headliner
Losses
Type to start searching
as-ideas/headliner
Headliner
as-ideas/headliner
Home
Examples
Examples
Neural Machine Translation
Advanced Neural Machine Translation
BERT Machine Translation
Documentation
Documentation
Callbacks
Callbacks
ValidationCallback
EvaluationCallback
ModelCheckpointCallback
Evaluation
Evaluation
BleuScorer
Model
Model
Summarizer
SummarizerAttention
SummarizerTransformer
Preprocessing
Preprocessing
BucketGenerator
DatasetGenerator
Preprocessor
Vectorizer
Tokenizer
Trainer
Losses
Losses
Table of contents
masked_crossentropy
Embeddings
Contribution
License
Table of contents
masked_crossentropy
Losses
masked_crossentropy
def
masked_crossentropy
(
targets
,
logits
)