MCPcopy Create free account

hub / github.com/Helsinki-NLP/prosody / functions

Functions42 in github.com/Helsinki-NLP/prosody

↓ 7 callersMethod__init__
(self, device, config, labels=None)
model.py:12
↓ 1 callersMethodcollect_stats
(self, x, y)
model.py:223
↓ 1 callersMethodconvert_tokens_to_emb_ids
(self, tokens)
prosody_dataset.py:41
↓ 1 callersMethodget_encoding
(self, index)
model.py:295
↓ 1 callersMethodget_tag
(self, encoding)
model.py:298
↓ 1 callersFunctionload_embeddings
(config, vocab)
prosody_dataset.py:169
↓ 1 callersFunctionmain
()
main.py:139
↓ 1 callersFunctionrediscretize_tag
(value_prominance, nclasses)
prosody_dataset.py:189
↓ 1 callersMethodsave_stats
(self)
model.py:218
↓ 1 callersFunctiontest
(model, iterator, criterion, index_to_tag, device, config)
main.py:384
↓ 1 callersFunctiontest_cont
(model, iterator, criterion, index_to_tag, device, config)
main.py:504
↓ 1 callersFunctiontrain
(model, iterator, optimizer, criterion, device, config)
main.py:277
↓ 1 callersFunctiontrain_cont
(model, iterator, optimizer, criterion, device, config)
main.py:461
↓ 1 callersFunctionvalid
(model, iterator, criterion, index_to_tag, device, config, best_dev_acc, best_dev_epoch, epoch)
main.py:311
↓ 1 callersFunctionvalid_cont
(model, iterator, criterion, index_to_tag, device, config, best_dev_acc, best_dev_epoch, epoch)
main.py:480
Method__getitem__
(self, id)
prosody_dataset.py:45
Method__init__
(self, tagged_sents, tag_to_index, config, word_to_embid=None)
prosody_dataset.py:11
Method__init__
(self, device, config, labels=None)
model.py:41
Method__init__
(self, device, config, vocab_size, labels=None)
model.py:76
Method__init__
(self, module, backward=True)
model.py:103
Method__init__
(self, device, config)
model.py:124
Method__init__
(self, device, config, vocab_size)
model.py:164
Method__init__
(self, device, config, index_to_tag)
model.py:202
Method__init__
(self, device, config, index_to_tag, tag_to_index)
model.py:273
Method__init__
(self, device, config, labels=None)
model.py:330
Method__len__
(self)
prosody_dataset.py:38
Methodbackward_hook_fn
(self, module, grad_out, grad_in)
model.py:113
Methodclose
(self)
model.py:119
Methodforward
(self, x, y)
model.py:23
Methodforward
(self, x, y)
model.py:54
Methodforward
(self, x, y)
model.py:91
Methodforward
x: (N, T). int64 y: (N, T). int64
model.py:137
Methodforward
(self, x, y)
model.py:185
Methodforward
x: (N, T). int64 y: (N, T). int64
model.py:248
Methodforward
(self, x, y)
model.py:303
Methodforward
(self, x, y)
model.py:341
Methodforward_hook_fn
(self, module, input, output)
model.py:109
Functionload_dataset
(config)
prosody_dataset.py:84
Methodload_stats
(self)
model.py:212
Functionmake_dirs
(name)
main.py:114
Functionpad
(batch)
prosody_dataset.py:148
Functionweighted_mse_loss
(input,target)
main.py:126