MCPcopy Create free account

hub / github.com/MultiPath/CopyNet / functions

Functions547 in github.com/MultiPath/CopyNet

↓ 121 callersMethod_add
(self, layer)
emolga/models/core.py:19
↓ 57 callersFunctiondot
Decide the right type of dot product depending on the input arguments
emolga/utils/theano_utils.py:62
↓ 42 callersFunctionalloc_zeros_matrix
(*dims)
emolga/utils/theano_utils.py:30
↓ 38 callersMethodupdate
@param current: index of current step @param values: list of tuples (name, value_for_last_step). The progress bar
emolga/utils/generic_utils.py:82
↓ 32 callersMethod_add_tag
(self, layer, tag)
emolga/models/variational.py:45
↓ 31 callersMethodget_updates
(self, params, loss)
emolga/basic/optimizers.py:76
↓ 29 callersFunctionshared_zeros
(shape, dtype=theano.config.floatX, name=None)
emolga/utils/theano_utils.py:18
↓ 27 callersMethodbuild_encoder
Build the Encoder Computational Graph
emolga/models/encdec.py:252
↓ 27 callersFunctiondeserialize_from_file
(path)
emolga/dataset/build_dataset.py:40
↓ 20 callersMethodevaluate_
(self, inputs, outputs, idx2word, inputs_unk=None)
emolga/models/encdec.py:1662
↓ 19 callersFunctionlogSumExp
Numerically stable log(sum(exp(A))). Can also be used in softmax function. c is the additional input when it doesn't require masking
emolga/utils/theano_utils.py:87
↓ 19 callersFunctionsetup
()
experiments/config.py:6
↓ 17 callersMethodbuild_
(self)
emolga/models/encdec.py:1505
↓ 17 callersMethodset_name
(self, name)
emolga/layers/core.py:71
↓ 16 callersMethodcompile_
(self, mode='all', contrastive=False)
emolga/models/encdec.py:1527
↓ 14 callersMethod_monitoring
(self)
emolga/models/core.py:24
↓ 14 callersMethodload
(self, filename)
emolga/models/core.py:90
↓ 13 callersFunctionshared_scalar
(val=0., dtype=theano.config.floatX, name=None)
emolga/utils/theano_utils.py:22
↓ 12 callersMethod_add
(self, layer)
emolga/layers/core.py:29
↓ 11 callersFunctionfloatX
(X)
emolga/utils/theano_utils.py:10
↓ 10 callersMethodcompile_monitoring
(self, inputs, updates=None)
emolga/models/core.py:32
↓ 9 callersMethodsave
(self, filename)
emolga/models/core.py:75
↓ 9 callersFunctionserialize_to_file
(obj, path, protocol=cPickle.HIGHEST_PROTOCOL)
emolga/dataset/build_dataset.py:15
↓ 8 callersMethodanalyse_
(self, inputs, outputs, idx2word)
emolga/models/encdec.py:1689
↓ 8 callersMethodbuild_decoder
Build the Decoder Computational Graph For training/testing
emolga/models/encdec.py:502
↓ 8 callersMethodset_weights
(self, weights)
emolga/layers/core.py:56
↓ 7 callersMethod__init__
(self)
emolga/layers/core.py:9
↓ 7 callersMethodget_context
(self, context)
emolga/models/ntm_encdec.py:105
↓ 6 callersMethod__init__
(self, config, n_rng, rng, mode='Evaluation')
emolga/models/ntm_encdec.py:722
↓ 6 callersMethod__init__
(self, config, n_rng, rng, mode='Evaluation', use_attention
emolga/models/covc_encdec.py:1566
↓ 6 callersMethod__init__
(self, config, n_rng, rng, mode='Evaluation', use_attention
emolga/models/encdec.py:1488
↓ 6 callersMethodbuild_encoder
Build the Encoder Computational Graph
emolga/models/ntm_encdec.py:306
↓ 6 callersFunctionbuild_fuel
(data)
emolga/dataset/build_dataset.py:47
↓ 6 callersMethodgenerate_
(self, inputs, mode='display', return_attend=False, return_all=False)
emolga/models/covc_encdec.py:1694
↓ 6 callersMethodgrid_
=================================================== Grid (2D as an example) ------------- | c' d' | Grid B
emolga/layers/gridlstm.py:195
↓ 6 callersFunctionprint_sample
(idx2word, idx)
emolga/utils/generic_utils.py:162
↓ 6 callersFunctionsharedX
(X, dtype=theano.config.floatX, name=None)
emolga/utils/theano_utils.py:14
↓ 6 callersFunctionunk_filter
(data)
experiments/weibo_vest.py:149
↓ 6 callersFunctionunk_filter
(data)
experiments/lcsts_vest.py:159
↓ 6 callersFunctionunk_filter
(data)
experiments/bst_vest.py:160
↓ 6 callersFunctionunk_filter
(data)
experiments/syn_vest.py:155
↓ 6 callersFunctionunk_filter
(data)
experiments/lcsts_vest_new.py:159
↓ 5 callersMethod__init__
(self, input_dim, memory_width, shift_width, shift_conv, init='glorot_uniform', inner_init='o
emolga/layers/ntm_minibatch.py:22
↓ 5 callersMethodbuild_encoder
Build the Encoder Computational Graph
emolga/models/covc_encdec.py:102
↓ 5 callersMethodbuild_sampler
Build a sampler which only steps once. Typically it only works for one word a time?
emolga/models/encdec.py:634
↓ 5 callersFunctionget_fans
(shape)
emolga/basic/initializations.py:8
↓ 5 callersMethodget_gradients
Consider the situation that gradient is weighted.
emolga/basic/optimizers.py:47
↓ 5 callersMethodget_padded_shuffled_mask
What's going on here? [1] change the 2D matrix into 3D. [2]
emolga/layers/recurrent.py:12
↓ 5 callersMethodloop
(self, X, X_mask, info=None, return_sequence=False, return_full=False)
emolga/models/ntm_encdec.py:127
↓ 5 callersFunctionprint_str
(data)
experiments/dataset.py:82
↓ 4 callersMethod__init__
(self, output_dims, input_dims, # [0, ... 0], 0 represents no external in
emolga/layers/gridlstm.py:41
↓ 4 callersMethod__init__
(self, lr=0.05, momentum=0.9, decay=0.01, nesterov=True, *args, **kwargs)
emolga/basic/optimizers.py:69
↓ 4 callersMethod__init__
(self, config, n_rng, rng, mode='Evaluation')
emolga/models/variational.py:33
↓ 4 callersMethodadd
(self, v)
emolga/basic/optimizers.py:33
↓ 4 callersMethodbuild
Build the model weights
emolga/layers/gridlstm.py:86
↓ 4 callersMethodbuild_decoder
Build the Decoder Computational Graph
emolga/models/ntm_encdec.py:490
↓ 4 callersMethodbuild_sampler
Build a sampler which only steps once. Typically it only works for one word a time?
emolga/models/ntm_encdec.py:563
↓ 4 callersMethodfind
Return the node for key t if is in the tree, or None otherwise.
experiments/bst_dataset.py:157
↓ 4 callersFunctionftr
(v)
experiments/synthetic.py:37
↓ 4 callersMethodgenerate_
(self, inputs, mode='display', return_all=False)
emolga/models/encdec.py:1600
↓ 4 callersMethodget_fixer
(self, X)
emolga/layers/ntm_minibatch.py:119
↓ 4 callersFunctionget_from_module
(identifier, module_params, module_name, instantiate=False, kwargs=None)
emolga/utils/generic_utils.py:10
↓ 4 callersMethodinsert
Insert key t into this BST, modifying it in-place.
experiments/bst_dataset.py:148
↓ 4 callersFunctionobtain_stream
(dataset, batch_size, size=1)
emolga/dataset/build_dataset.py:55
↓ 3 callersMethod__init__
(self, config, rng, learn_memory=False, prefix='mem')
emolga/models/pointers.py:621
↓ 3 callersMethodbuild_decoder
Build the Decoder Computational Graph For training/testing
emolga/models/covc_encdec.py:407
↓ 3 callersMethodbuild_sampler
Build a sampler which only steps once. Typically it only works for one word a time?
emolga/models/covc_encdec.py:539
↓ 3 callersFunctioncheck_answer
(x, y, g)
emolga/run.py:246
↓ 3 callersMethodcompile_inference
build the hidden action prediction.
emolga/models/variational.py:192
↓ 3 callersMethodcompile_sample
build the sampler function here <:::>
emolga/models/variational.py:176
↓ 3 callersMethodget_sample
(self, context, k=1, maxlen=30, stochastic=True, argmax=False, fixlen=False)
emolga/models/encdec.py:688
↓ 3 callersMethodget_weights
(self)
emolga/layers/core.py:62
↓ 3 callersMethodgrab_source
(source, target)
emolga/models/pointers.py:381
↓ 3 callersFunctionprepare_batch
(batch, mask, fix_len=None)
experiments/syntest.py:127
↓ 3 callersFunctionprepare_batch
(batch, mask, fix_len=None)
experiments/lcsts_test.py:116
↓ 3 callersFunctionuniform
(shape, scale=0.1)
emolga/basic/initializations.py:16
↓ 2 callersFunctionSL_test
(test_set)
emolga/test_run.py:317
↓ 2 callersMethod__init__
(self, input_dim, output_dim=128, context_dim=None,
emolga/layers/recurrent.py:54
↓ 2 callersMethod_controller
(self, input_t, read_t, controller_tm1=None)
emolga/layers/ntm_minibatch.py:216
↓ 2 callersMethod_controller
(self, input_t, read_t, controller_tm1=None)
emolga/layers/ntm_minibatch.py:579
↓ 2 callersMethod_grab_prob
(probs, X, block_unk=False)
emolga/models/covc_encdec.py:379
↓ 2 callersMethod_grab_prob
(probs, X)
emolga/models/encdec.py:474
↓ 2 callersMethod_read
(w_read, memory)
emolga/layers/ntm_minibatch.py:231
↓ 2 callersMethod_read
(w_read, memory)
emolga/layers/ntm_minibatch.py:594
↓ 2 callersFunctionbuild_data
(data)
experiments/lcsts_dataset.py:117
↓ 2 callersFunctionbuild_data
(data)
experiments/weibo_dataset.py:75
↓ 2 callersFunctionbuild_data
(data)
experiments/movie_dataset.py:75
↓ 2 callersFunctionbuild_data
(data)
experiments/bst_dataset.py:330
↓ 2 callersMethodbuild_decoder
Build the Pointer Network Decoder Computational Graph
emolga/models/pointers.py:91
↓ 2 callersFunctionbuild_instance
()
experiments/synthetic.py:46
↓ 2 callersMethodcheck
(self)
experiments/bst_dataset.py:178
↓ 2 callersMethodcompile_encoder
(self, with_context=False, return_embed=False, return_sequence=False)
emolga/models/covc_encdec.py:175
↓ 2 callersMethodcompile_encoder
(self, with_context=False, return_embed=False, return_sequence=False)
emolga/models/encdec.py:288
↓ 2 callersFunctiondivide_dataset
(dataset, test_size, max_size)
emolga/dataset/build_dataset.py:29
↓ 2 callersMethoddynamic
(self)
emolga/models/variational.py:301
↓ 2 callersMethodget_sample
(self, context, k=1, maxlen=30, stochastic=True, argmax=False, fixlen=False)
emolga/models/covc_encdec.py:592
↓ 2 callersMethodgrab_prob
(probs, X)
emolga/models/pointers.py:64
↓ 2 callersMethodgrab_prob
(probs, X)
emolga/models/pointers.py:370
↓ 2 callersMethodgrab_source
(source, target)
emolga/models/pointers.py:75
↓ 2 callersMethodlstm_
LSTM [h', m'] = LSTM(x, h, m): gi = sigmoid(Wi * x + Ui * h + Vi * m) # Vi is peep-hole gf = sigm
emolga/layers/gridlstm.py:140
next →1–100 of 547, ranked by callers