nmt/model.py
def _get_infer_maximum_iterations(self, hparams):
    """Maximum decoding steps at inference time."""
    maximum_iterations = hparams.tgt_max_len_infer
    utils.print_out("  decoding maximum_iterations %d" % maximum_iterations)
    return maximum_iterations
Maximum decoding steps at inference time.
Maximum decoding steps at inference time.
Maximum decoding steps at inference time .
def _get_infer_maximum_iterations(self, hparams):
    maximum_iterations = hparams.tgt_max_len_infer
    utils.print_out("  decoding maximum_iterations %d" % maximum_iterations)
    return maximum_iterations
def _get_infer_maximum_iterations ( self , hparams ) : maximum_iterations = hparams . tgt_max_len_infer utils . print_out ( "  decoding maximum_iterations %d" % maximum_iterations ) return maximum_iterations
Maximum decoding steps at inference time.
Maximum decoding steps at inference time .
"""Maximum decoding steps at inference time."""
self
hparams