MCPcopy Create free account

hub / github.com/MultiPath/CopyNet / functions

Functions547 in github.com/MultiPath/CopyNet

Methodbuild_sampler
Build a sampler which only steps once.
emolga/models/pointers.py:156
Methodbuild_sampler
Build a sampler which only steps once.
emolga/models/pointers.py:495
Methodbuild_sampler
(self, memory=None, out_mem=None)
emolga/models/pointers.py:881
Methodbuild_sampler
Build a sampler which only steps once. Typically it only works for one word a time?
emolga/models/covc_encdec.py:998
Methodbuild_sampler
(self)
emolga/models/covc_encdec.py:1289
Methodbuild_sampler
Build a sampler which only steps once. Typically it only works for one word a time?
emolga/models/encdec.py:1010
Methodbuild_sampler
(self)
emolga/models/encdec.py:1211
Methodbuild_stochastic_sampler
(self)
emolga/models/covc_encdec.py:581
Methodbuild_stochastic_sampler
(self)
emolga/models/encdec.py:677
Methodbuild_train
(self, memory=None, out_memory=None, compile_train=False, guide=None)
emolga/models/pointers.py:743
Functioncategorical_crossentropy
Expects a binary class matrix instead of a vector of scalar classes
emolga/basic/objectives.py:37
Methodcheck
Checks that the subtree rooted at t is a valid BST and all keys are between (lokey, hikey).
experiments/bst_dataset.py:111
Methodclear
(self)
emolga/utils/generic_utils.py:155
Methodcompile_
(self, mode='train', contrastive=False)
emolga/models/variational.py:330
Methodcompile_
(self, mode='train', contrastive=False)
emolga/models/variational.py:798
Methodcompile_
(self, mode='train', contrastive=False)
emolga/models/variational.py:1126
Methodcompile_
(self, mode='train', contrastive=False)
emolga/models/variational.py:1492
Methodcompile_
(self, mode='train', contrastive=False)
emolga/models/ntm_encdec.py:749
Methodcompile_
(self, mode='train', contrastive=False)
emolga/models/covc_encdec.py:1341
Methodcompile_
(self, mode='all', contrastive=False)
emolga/models/covc_encdec.py:1609
Methodcompile_
(self, mode='train', contrastive=False)
emolga/models/encdec.py:1263
Methodcompile_inference
build the hidden action prediction.
emolga/models/ntm_encdec.py:1077
Methodcompile_inference
build the hidden action prediction.
emolga/models/ntm_encdec.py:1300
Methodcompile_sample
(self)
emolga/models/ntm_encdec.py:1053
Methodcompile_sample
(self)
emolga/models/ntm_encdec.py:1277
Methodcompile_sample
(self)
emolga/models/ntm_encdec.py:1404
Methodcompile_train
build the training function here <:::>
emolga/models/variational.py:115
Methodcompile_train
(self)
emolga/models/ntm_encdec.py:951
Methodcompile_train
(self)
emolga/models/ntm_encdec.py:1175
Methodcompile_train
(self, mode='train')
emolga/models/ntm_encdec.py:1368
Methodcompile_train
(self, mode='train')
emolga/models/covc_encdec.py:1518
Methodcompile_train
(self, mode='train')
emolga/models/encdec.py:1440
Functioncosine_sim
(k, M)
emolga/utils/theano_utils.py:133
Methodcut_zero
(sample, idx2word, ppp=None, Lmax=None)
emolga/models/covc_encdec.py:1832
Methodcut_zero
(sample, idx2word, Lmax=None)
emolga/models/encdec.py:1664
Methodcut_zero_no
(sample, idx2word, ppp=None, Lmax=None)
emolga/models/covc_encdec.py:1766
Methodcut_zero_yes
(sample, idx2word, ppp=None, Lmax=None)
emolga/models/covc_encdec.py:1738
Methoddefault_context
(self)
emolga/models/variational.py:208
Methoddefault_context
(self)
emolga/models/ntm_encdec.py:1100
Methoddefault_context
(self)
emolga/models/ntm_encdec.py:1323
Methoddelete
Delete this node from the tree.
experiments/bst_dataset.py:90
Functiondisplay_session
display a dialogue session
emolga/run.py:258
Functiondisplay_session
display a dialogue session
emolga/test_run.py:293
Methodevaluate_
build the evaluation function for valid/testing Note that we need multiple sampling for this!
emolga/models/variational.py:539
Methodevaluate_
(self, inputs, outputs, idx2word, inputs_unk=None, encode=True)
emolga/models/covc_encdec.py:1737
Methodfind
Return the node for key t if it is in this tree, or None otherwise.
experiments/bst_dataset.py:42
Methodfunc_r
(x)
emolga/models/variational.py:376
Functiongaussian_kl_divergence
Computes the KL-divergence of Gaussian variables from the standard one. Given two variable ``mean`` representing :math:`\\mu` and ``ln_var``
emolga/basic/objectives.py:59
Methodgenerate_
(self, context=None, max_len=None, mode='display')
emolga/models/variational.py:1015
Methodgenerate_
(self, context=None, max_len=None, mode='display')
emolga/models/variational.py:1350
Methodgenerate_
(self, context=None, max_len=None, mode='display')
emolga/models/variational.py:1701
Methodgenerate_
:param action: action vector to guide the question. If None, use a Gaussian to simulate the action. :return: q
emolga/models/ntm_encdec.py:834
Methodgenerate_
(self, inputs, context, source, smask)
emolga/models/pointers.py:973
Methodgenerate_
:param action: action vector to guide the question. If None, use a Gaussian to simulate the action. :return: q
emolga/models/covc_encdec.py:1428
Methodgenerate_
:param action: action vector to guide the question. If None, use a Gaussian to simulate the action. :return: q
emolga/models/encdec.py:1350
Functionget
(identifier)
emolga/basic/objectives.py:97
Functionget
(identifier)
emolga/basic/activations.py:68
Functionget
(identifier, kwargs=None)
emolga/basic/optimizers.py:276
Functionget
(identifier)
emolga/basic/initializations.py:88
Methodget_config
(self)
emolga/basic/optimizers.py:63
Methodget_config
(self)
emolga/basic/optimizers.py:94
Methodget_config
(self)
emolga/basic/optimizers.py:123
Methodget_config
(self)
emolga/basic/optimizers.py:148
Methodget_config
(self)
emolga/basic/optimizers.py:187
Methodget_fixer
(self, X)
emolga/layers/ntm_minibatch.py:480
Methodget_output_mask
For some models (such as RNNs) you want a way of being able to mark some output data-points as "masked", so they are not used in futu
emolga/layers/core.py:40
Methodget_params
(self)
emolga/layers/core.py:68
Methodget_sample
(self, context, inputs, source, smask, k=1, maxlen=30, stochastic=True, argmax=False, fixle
emolga/models/pointers.py:540
Methodget_sample
(self, context, c_mask, source, k=
emolga/models/covc_encdec.py:1052
Methodget_sample
(self, context, argmax=True)
emolga/models/covc_encdec.py:1296
Methodget_sample
(self, context, c_mask, k=1, maxlen=30, stochastic=True, argmax=False, fixlen=False)
emolga/models/encdec.py:1052
Methodget_sample
(self, context, argmax=True)
emolga/models/encdec.py:1218
Methodget_state
(self)
emolga/basic/optimizers.py:36
Functionget_test_data
classification=True overrides output_shape (i.e. output_shape is set to (1,)) and the output consists in integers in [0, nb_c
emolga/utils/test_utils.py:4
Methodget_updates
(self, params, loss)
emolga/basic/optimizers.py:44
Methodget_updates
(self, params, loss)
emolga/basic/optimizers.py:110
Methodget_updates
(self, params, constraints, loss)
emolga/basic/optimizers.py:136
Methodget_updates
(self, params, loss)
emolga/basic/optimizers.py:164
Methodget_updates
(self, params, loss)
emolga/basic/optimizers.py:226
Functionglorot_normal
Reference: Glorot & Bengio, AISTATS 2010
emolga/basic/initializations.py:33
Functionglorot_uniform
(shape)
emolga/basic/initializations.py:41
Functionhard_sigmoid
(x)
emolga/basic/activations.py:34
Functionhe_normal
Reference: He et al., http://arxiv.org/abs/1502.01852
emolga/basic/initializations.py:47
Functionhe_uniform
(shape)
emolga/basic/initializations.py:55
Functionhinge
(y_true, y_pred)
emolga/basic/objectives.py:33
Functionidentity
(shape, scale=1)
emolga/basic/initializations.py:73
Methodinit_updates
(self)
emolga/layers/core.py:15
Methodinsert
Insert key t into the subtree rooted at this node (updating subtree size).
experiments/bst_dataset.py:24
Functionkl_divergence
(p, p_hat)
emolga/basic/optimizers.py:23
Functionlecun_uniform
Reference: LeCun 98, Efficient Backprop http://yann.lecun.com/exdb/publis/pdf/lecun-98b.pdf
emolga/basic/initializations.py:24
Functionlinear
The function returns the variable that is passed in, so all types work
emolga/basic/activations.py:38
Functionload_array
(name)
emolga/utils/io_utils.py:65
Functionload_config
()
emolga/utils/io_utils.py:79
Functionmain
()
emolga/run.py:226
Functionmain
()
emolga/test_run.py:261
Functionmake_batches
(size, batch_size)
emolga/utils/generic_utils.py:50
Functionmake_tuple
(*args)
emolga/utils/generic_utils.py:24
Functionmasked_softmax
(x, mask, err=1e-9)
emolga/utils/theano_utils.py:125
Functionmaxout2
(x)
emolga/basic/activations.py:45
Functionmean_absolute_error
(y_true, y_pred)
emolga/basic/objectives.py:17
← previousnext →401–500 of 547, ranked by callers