Skip to content

Commit

Permalink
Fix Decoder docstring format
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumekln authored Feb 25, 2021
1 parent a36066d commit baf8d78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opennmt/decoders/decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class Decoder(tf.keras.layers.Layer):
def __init__(self, num_sources=1, vocab_size=None, output_layer=None, **kwargs):
"""Initializes the decoder parameters.
If you don't set one of :obj:`vocab_size` or `output_layer` here,
If you don't set one of :obj:`vocab_size` or :obj:`output_layer` here,
you should later call the method :meth:`opennmt.decoders.Decoder.initialize`
to initialize this decoder instance.
Expand Down

0 comments on commit baf8d78

Please sign in to comment.