MCPcopy Create free account

hub / github.com/Amazing-J/structural-transformer / functions

Functions986 in github.com/Amazing-J/structural-transformer

Functionmodel_opts
These options are passed to the construction of the model. Be careful with these as they will be used during translation.
opennmt-self/onmt/opts.py:16
Functionmulti_init
(opt, device_id)
opennmt-feature/utils/distributed.py:20
Functionmulti_init
(opt, device_id)
opennmt-cnn/utils/distributed.py:20
Functionmulti_init
(opt, device_id)
opennmt-avg/utils/distributed.py:20
Functionmulti_init
(opt, device_id)
opennmt-baseline/utils/distributed.py:20
Functionmulti_init
(opt, device_id)
opennmt-self/utils/distributed.py:20
Methodpadding_idx
(self)
opennmt-feature/utils/loss.py:73
Methodpadding_idx
(self)
opennmt-cnn/utils/loss.py:73
Methodpadding_idx
(self)
opennmt-avg/utils/loss.py:73
Methodpadding_idx
(self)
opennmt-baseline/utils/loss.py:73
Methodpadding_idx
(self)
opennmt-self/utils/loss.py:73
Methodpredict_word
(dec_seq, n_active_inst, n_bm, len_dec_seq)
opennmt-feature/onmt/translator.py:151
Methodpredict_word
(dec_seq, n_active_inst, n_bm, len_dec_seq)
opennmt-cnn/onmt/translator.py:168
Methodpredict_word
(dec_seq, n_active_inst, n_bm, len_dec_seq)
opennmt-avg/onmt/translator.py:168
Methodpredict_word
(dec_seq, n_active_inst, n_bm, len_dec_seq)
opennmt-baseline/onmt/translator.py:136
Methodpredict_word
(dec_seq, n_active_inst, n_bm, len_dec_seq)
opennmt-self/onmt/translator.py:168
Methodprepare_beam_dec_seq
(inst_dec_beams)
opennmt-feature/onmt/translator.py:142
Methodprepare_beam_dec_seq
(inst_dec_beams)
opennmt-cnn/onmt/translator.py:159
Methodprepare_beam_dec_seq
(inst_dec_beams)
opennmt-avg/onmt/translator.py:159
Methodprepare_beam_dec_seq
(inst_dec_beams)
opennmt-baseline/onmt/translator.py:127
Methodprepare_beam_dec_seq
(inst_dec_beams)
opennmt-self/onmt/translator.py:159
Functionpreprocess_opts
Pre-procesing options
opennmt-feature/onmt/opts.py:70
Functionpreprocess_opts
Pre-procesing options
opennmt-cnn/onmt/opts.py:70
Functionpreprocess_opts
Pre-procesing options
opennmt-avg/onmt/opts.py:70
Functionpreprocess_opts
Pre-procesing options
opennmt-baseline/onmt/opts.py:71
Functionpreprocess_opts
Pre-procesing options
opennmt-self/onmt/opts.py:70
Functionrun
run process
opennmt-feature/train.py:43
Functionrun
run process
opennmt-cnn/train.py:43
Functionrun
run process
opennmt-avg/train.py:43
Functionrun
run process
opennmt-baseline/train.py:45
Functionrun
run process
opennmt-self/train.py:43
Functionsequence_mask
Creates a boolean mask from sequence lengths.
opennmt-feature/utils/misc.py:16
Functionsequence_mask
Creates a boolean mask from sequence lengths.
opennmt-cnn/utils/misc.py:16
Functionsequence_mask
Creates a boolean mask from sequence lengths.
opennmt-avg/utils/misc.py:16
Functionsequence_mask
Creates a boolean mask from sequence lengths.
opennmt-baseline/utils/misc.py:16
Functionsequence_mask
Creates a boolean mask from sequence lengths.
opennmt-self/utils/misc.py:16
Methodshape
projection
opennmt-feature/onmt/sublayer.py:73
Methodshape
projection
opennmt-cnn/onmt/sublayer.py:74
Methodshape
projection
opennmt-avg/onmt/sublayer.py:74
Methodshape
projection
opennmt-baseline/onmt/sublayer.py:88
Methodshape
projection
opennmt-self/onmt/sublayer.py:74
Methodsignal_handler
signal handler
opennmt-feature/train.py:82
Methodsignal_handler
signal handler
opennmt-cnn/train.py:82
Methodsignal_handler
signal handler
opennmt-avg/train.py:82
Methodsignal_handler
signal handler
opennmt-baseline/train.py:84
Methodsignal_handler
signal handler
opennmt-self/train.py:82
Methodsort_key
(self, ex)
opennmt-feature/inputters/dataset.py:370
Methodsort_key
(self, ex)
opennmt-cnn/inputters/dataset.py:585
Methodsort_key
(self, ex)
opennmt-avg/inputters/dataset.py:585
Methodsort_key
(self, ex)
opennmt-baseline/inputters/dataset.py:335
Methodsort_key
(self, ex)
opennmt-self/inputters/dataset.py:585
Methodsort_translation
(indices, translation)
opennmt-feature/onmt/translator.py:66
Methodsort_translation
(indices, translation)
opennmt-cnn/onmt/translator.py:83
Methodsort_translation
(indices, translation)
opennmt-avg/onmt/translator.py:83
Methodsort_translation
(indices, translation)
opennmt-baseline/onmt/translator.py:62
Methodsort_translation
(indices, translation)
opennmt-self/onmt/translator.py:83
Methodstate
?
opennmt-feature/utils/optimizers.py:103
Methodstate
?
opennmt-cnn/utils/optimizers.py:103
Methodstate
?
opennmt-avg/utils/optimizers.py:103
Methodstate
?
opennmt-baseline/utils/optimizers.py:103
Methodstate
?
opennmt-self/utils/optimizers.py:103
Methodstep
?
opennmt-feature/utils/optimizers.py:97
Methodstep
?
opennmt-cnn/utils/optimizers.py:97
Methodstep
?
opennmt-avg/utils/optimizers.py:97
Methodstep
?
opennmt-baseline/utils/optimizers.py:97
Methodstep
?
opennmt-self/utils/optimizers.py:97
Functiontrain_opts
Training and saving options
opennmt-feature/onmt/opts.py:162
Functiontrain_opts
Training and saving options
opennmt-cnn/onmt/opts.py:191
Functiontrain_opts
Training and saving options
opennmt-avg/onmt/opts.py:179
Functiontrain_opts
Training and saving options
opennmt-baseline/onmt/opts.py:153
Functiontrain_opts
Training and saving options
opennmt-self/onmt/opts.py:191
Functiontranslate_opts
Translation / inference options
opennmt-feature/onmt/opts.py:355
Functiontranslate_opts
Translation / inference options
opennmt-cnn/onmt/opts.py:384
Functiontranslate_opts
Translation / inference options
opennmt-avg/onmt/opts.py:372
Functiontranslate_opts
Translation / inference options
opennmt-baseline/onmt/opts.py:344
Functiontranslate_opts
Translation / inference options
opennmt-self/onmt/opts.py:384
Methodunshape
compute context
opennmt-feature/onmt/sublayer.py:77
Methodunshape
compute context
opennmt-cnn/onmt/sublayer.py:78
Methodunshape
compute context
opennmt-avg/onmt/sublayer.py:78
Methodunshape
compute context
opennmt-baseline/onmt/sublayer.py:93
Methodunshape
compute context
opennmt-self/onmt/sublayer.py:78
Methodword_lut
word look-up table
opennmt-feature/onmt/embeddings.py:59
Methodword_lut
word look-up table
opennmt-cnn/onmt/embeddings.py:63
Methodword_lut
word look-up table
opennmt-avg/onmt/embeddings.py:61
Methodword_lut
word look-up table
opennmt-baseline/onmt/embeddings.py:59
Methodword_lut
word look-up table
opennmt-self/onmt/embeddings.py:61
← previous901–986 of 986, ranked by callers