MCPcopy Create free account

hub / github.com/clab/dynet / functions

Functions2,496 in github.com/clab/dynet

↓ 1 callersMethodpopulate_model
Load a model.
contrib/rust/src/io.rs:115
↓ 1 callersMethodpopulate_parameter
Load a parameter.
contrib/rust/src/io.rs:134
↓ 1 callersFunctionpre_pillow_float_img_process
(float_img)
examples/variational-autoencoder/basic-image-recon/utils.py:95
↓ 1 callersMethodpredict
examples/document-classification/train_imdb.cc:85
↓ 1 callersMethodpredict
* \brief Predict the most probable label * \details Returns the argmax of the softmax of the networks output * * \param x Input * \param c
examples/mnist/mlp.h:207
↓ 1 callersFunctionprint_vecs
dynet/nodes-def-macros.h:31
↓ 1 callersFunctionpythonize_arguments
Remove types from function arguments in cython
doc/source/doc_util.py:9
↓ 1 callersFunctionrand_normal
dynet/tensor.cc:341
↓ 1 callersFunctionrandom_gumbel
dynet/expr.cc:57
↓ 1 callersFunctionread_dataset
(filename)
examples/treelstm/dataloader.py:7
↓ 1 callersFunctionread_fields
examples/rnnlm/train_rnnlm.cc:120
↓ 1 callersMethodregularization_loss
(self, coef)
examples/treelstm/model.py:87
↓ 1 callersMethodrenew
(self, immediate_compute=False, check_validity=False)
python/dynet_viz.py:216
↓ 1 callersMethodreparameterize
(self, mu, logvar)
examples/variational-autoencoder/basic-image-recon/vae.py:94
↓ 1 callersMethodreset
contrib/c/dynet_c/internal.h:126
↓ 1 callersMethodreset_rng
dynet/devices.cc:130
↓ 1 callersMethodreset_weight_decay
dynet/weight-decay.h:33
↓ 1 callersMethodresize
Changes the number of dimensions. # Examples ``` # use dynet::Dim; let mut dim = Dim::from([2, 3, 4, 5]); assert_eq!(dim.ndims(), 4); // [2, 3, 4, 5
contrib/rust/src/dim.rs:154
↓ 1 callersMethodrestart
dynet/training.cc:267
↓ 1 callersMethodrewind_one_step
Rewinds the last timestep.
contrib/rust/src/rnn_builder.rs:98
↓ 1 callersFunctionround
dynet/expr.cc:111
↓ 1 callersFunctionrun_parent
dynet/mp.h:154
↓ 1 callersFunctionrun_train
---
examples/transformer/transformer-train.cc:363
↓ 1 callersMethods
(self)
python/dynet_viz.py:679
↓ 1 callersMethodsample
Samples from the softmax distribution.
contrib/rust/src/softmax_builder.rs:52
↓ 1 callersMethodsample
(self, first=1, nchars=0, stop=-1)
examples/batching/rnnlm-batch.py:72
↓ 1 callersMethodsample
examples/sequence-to-sequence/encdec.h:361
↓ 1 callersMethodsample
examples/noise-contrastive-estimation/sampler.h:79
↓ 1 callersMethodsample
(self, first=1, nchars=0, stop=-1)
examples/rnnlm/rnnlm_transduce.py:42
↓ 1 callersMethodsampleBag
examples/noise-contrastive-estimation/sampler.h:87
↓ 1 callersMethodsave_lookup_parameter
Save a lookup parameter.
contrib/rust/src/io.rs:65
↓ 1 callersMethodsave_model
Save a model.
contrib/rust/src/io.rs:35
↓ 1 callersFunctionsave_models
examples/segmental-rnn/train_segrnn-sup.cc:871
↓ 1 callersMethodsave_parameter
Save a parameter.
contrib/rust/src/io.rs:54
↓ 1 callersMethodsave_to_disk
(self, filename)
examples/rnnlm/rnnlm.py:24
↓ 1 callersMethodscale_gradient
* @brief Scales the gradient (multiplies by `s`) * * @param s scale */
dynet/model.h:363
↓ 1 callersMethodsent_lm_loss
(self, sent)
examples/rnnlm/lstmlm-auto.py:48
↓ 1 callersMethodset
(self, x)
python/dynet_viz.py:142
↓ 1 callersMethodset_beam_size
examples/transformer/ensemble-decoder.h:78
↓ 1 callersMethodset_cg
dynet/dynet.h:729
↓ 1 callersMethodset_clip_threshold
Sets clipping threshold.
contrib/rust/src/training.rs:65
↓ 1 callersMethodset_num_elements
Sets the number of nodes in the tree in advance.
contrib/rust/src/rnn_builder.rs:611
↓ 1 callersMethodset_sparsity
dynet/lstm.cc:628
↓ 1 callersFunctionshuffled_infinite_list
(lst)
examples/rnnlm/lstmlm-auto.py:18
↓ 1 callersMethodsig2type
dynet/sig.h:136
↓ 1 callersFunctionsparsemax_loss
Computes sparsemax loss
contrib/rust/src/expr.rs:961
↓ 1 callersFunctionsparsemax_loss
dynet/expr.cc:127
↓ 1 callersFunctionsplit_batch
examples/transformer/expr-xtra.h:122
↓ 1 callersFunctionsum_dim
dynet/expr.cc:211
↓ 1 callersMethodsum_dims
Returns sum of all dimensions with in a batch. # Examples ``` # use dynet::Dim; let dim = Dim::from([2, 3, 4]); assert_eq!(dim.sum_dims(), 9); // 2
contrib/rust/src/dim.rs:114
↓ 1 callersFunctionsum_values
dynet/mp.cc:30
↓ 1 callersMethodsupports_multidevice
* \brief Whether this node supports processing inputs/outputs on multiple * devices. \details DyNet will throw an error if you try to process input
dynet/dynet.h:642
↓ 1 callersFunctiontag_sent
(sent, builders)
examples/tagger/bilstmtagger.py:92
↓ 1 callersFunctiontest
()
examples/mnist/basic-mnist-benchmarks/mnist_dynet_minibatch.py:138
↓ 1 callersFunctiontest
()
examples/mnist/basic-mnist-benchmarks/mnist_dynet_autobatch.py:135
↓ 1 callersFunctiontest
()
examples/mnist/basic-mnist-benchmarks/mnist_pytorch.py:96
↓ 1 callersFunctiontest
(epoch)
examples/variational-autoencoder/basic-image-recon/vae.py:158
↓ 1 callersFunctiontest_only
examples/segmental-rnn/train_segrnn-sup.cc:831
↓ 1 callersFunctionto_device
Copies tensor between devices
contrib/rust/src/expr.rs:1356
↓ 1 callersFunctionto_device
dynet/expr.cc:300
↓ 1 callersMethodto_int
(&self)
contrib/rust/src/status.rs:25
↓ 1 callersFunctiontrain
(epoch)
examples/mnist/basic-mnist-benchmarks/mnist_dynet_minibatch.py:115
↓ 1 callersFunctiontrain
(epoch)
examples/mnist/basic-mnist-benchmarks/mnist_dynet_autobatch.py:114
↓ 1 callersFunctiontrain
(epoch)
examples/mnist/basic-mnist-benchmarks/mnist_pytorch.py:77
↓ 1 callersFunctiontrain
(model, sentence)
examples/sequence-to-sequence/attention.py:150
↓ 1 callersFunctiontrain
(epoch)
examples/variational-autoencoder/basic-image-recon/vae.py:129
↓ 1 callersFunctiontrain_pipeline_progressive
(env, player, score_threshold, batch_size, n_episode, learn_start=100, print_every=10)
examples/reinforcement-learning/train_test_utils.py:4
↓ 1 callersMethodtranscribe
examples/segmental-rnn/train_segrnn-sup.cc:183
↓ 1 callersMethodtranspose
Trunsposes the dim. # Panics Panics if the dim has more than two dimensions. # Examples ``` # use dynet::Dim; let d1 = Dim::from([8]); let d1_tran
contrib/rust/src/dim.rs:318
↓ 1 callersMethodtruncate
Truncates trailing dimensions of one. This iterates all the dimensions of `Dim` and stops at last dimension of one. # Examples ``` # use dynet::Dim
contrib/rust/src/dim.rs:135
↓ 1 callersMethodupdate
(self, s=1.0)
python/dynet_viz.py:695
↓ 1 callersMethodupdate_epoch
dynet/training.cc:190
↓ 1 callersMethodupdate_weight_decay
dynet/weight-decay.h:23
↓ 1 callersFunctionvalid_pc_key
dynet/io.cc:31
↓ 1 callersFunctionvecInput
(dim)
python/dynet_viz.py:244
↓ 1 callersMethodwhat
contrib/c/dynet_c/internal.h:93
↓ 1 callersMethodwhoami
(self)
python/dynet_viz.py:507
FunctionAbs
dynet/nodes-arith-unary.h:65
FunctionAcos
dynet/nodes-trig.h:47
FunctionAcosh
dynet/nodes-trig.h:101
MethodAdadeltaTrainer
* \brief Constructor * * \param m ParameterCollection to be trained * \param eps Bias parameter \f$\epsilon\f$ in the adagrad formula * \p
dynet/training.h:489
MethodAdagradTrainer
* \brief Constructor * * \param m ParameterCollection to be trained * \param learning_rate Initial learning rate * \param eps Bias paramet
dynet/training.h:448
MethodAddVectorToAllColumns
dynet/nodes-arith-sum.h:46
MethodAffineTransform
dynet/nodes-affinetransform.h:11
MethodAlignedMemoryPool
dynet/aligned-mem-pool.cc:26
MethodAllocateParameters_rec
examples/word-embedding/train_tok-embed.cc:91
MethodAmsgradTrainer
* \brief Constructor * * \param m ParameterCollection to be trained * \param learning_rate Initial learning rate * \param beta_1 Moving av
dynet/training.h:619
MethodArgmax
dynet/nodes-argmax.h:11
FunctionAsin
dynet/nodes-trig.h:38
FunctionAsinh
dynet/nodes-trig.h:92
FunctionAtan
dynet/nodes-trig.h:56
MethodAtanh
dynet/nodes-trig.h:111
MethodAverage
dynet/nodes-moments.h:11
FunctionBOOST_AUTO_TEST_CASE
contrib/c/test/dim_test.cc:13
FunctionBOOST_AUTO_TEST_CASE
contrib/c/test/exec_test.cc:31
FunctionBOOST_AUTO_TEST_CASE
contrib/c/test/params_test.cc:15
FunctionBOOST_AUTO_TEST_CASE
tests/test-dim.cc:15
FunctionBOOST_AUTO_TEST_CASE
tests/test-dynet.cc:26
FunctionBOOST_AUTO_TEST_CASE
tests/test-io.cc:67
FunctionBOOST_AUTO_TEST_CASE
tests/test-softmax.cc:67
← previousnext →801–900 of 2,496, ranked by callers