MCPcopy Create free account

hub / github.com/clab/dynet / functions

Functions2,496 in github.com/clab/dynet

↓ 2 callersFunctionmake_reverse_time_distributed
examples/transformer/expr-xtra.h:147
↓ 2 callersFunctionmake_sinusoidal_position_encoding
--- Sinusoidal Positional Encoding Note: think effective way to make this much faster!
examples/transformer/transformer.h:604
↓ 2 callersFunctionmake_time_distributed
examples/transformer/expr-xtra.h:139
↓ 2 callersFunctionmean_dim
Computes mean along a specific dimension. # Arguments x - Input mini-batched expression. dims - Dimensions along which to reduce. b - Whether to inc
contrib/rust/src/expr.rs:714
↓ 2 callersMethodminibatch_lm_loss
(self, sents)
examples/rnnlm/lstmlm-auto.py:63
↓ 2 callersFunctionmoment_batches
Computes moment over mini-batches. # Arguments x - Input mini-batched expression. r - Order of the moment.
contrib/rust/src/expr.rs:643
↓ 2 callersFunctionmoment_dim
Computes moment along a specific dimension. # Arguments x - Input mini-batched expression. dims - Dimensions along which to reduce. r - Order of the
contrib/rust/src/expr.rs:694
↓ 2 callersFunctionmoment_elems
Computes moment over all elements. # Arguments x - Input mini-batched expression. r - Order of the moment.
contrib/rust/src/expr.rs:621
↓ 2 callersMethodneg_log_softmax
Computes batched negative log probability of a class.
contrib/rust/src/softmax_builder.rs:37
↓ 2 callersMethodnew_graph
(self)
python/dynet_viz.py:402
↓ 2 callersFunctionnoise
Adds Gaussian noise
contrib/rust/src/expr.rs:1158
↓ 2 callersFunctionnoise
dynet/expr.cc:135
↓ 2 callersMethodnonterms
(self)
examples/treelstm/dataloader.py:76
↓ 2 callersMethodnonterms_iter
(self)
examples/treelstm/dataloader.py:70
↓ 2 callersFunctionnot_ws
dynet/cfsm-builder.cc:13
↓ 2 callersFunctionnot_ws
dynet/hsm-builder.cc:241
↓ 2 callersMethodnum_children
dynet/hsm-builder.cc:71
↓ 2 callersMethodnum_devices
Returns the number of global devices.
contrib/rust/src/device.rs:63
↓ 2 callersMethodnum_nonone_dims
* \brief Number of non-one dimensions * \return Number of non-one dimensions */
dynet/dim.h:165
↓ 2 callersFunctionone_hot
dynet/expr.cc:23
↓ 2 callersFunctionpairwise_rank_loss
dynet/expr.cc:163
↓ 2 callersMethodparameter_count
dynet/model.cc:478
↓ 2 callersFunctionpick_batch_elems
dynet/expr.cc:187
↓ 2 callersFunctionpickneglogsoftmax_one
Computes negative softmax log likelihood
contrib/rust/src/expr.rs:904
↓ 2 callersFunctionpoisson_loss
Computes Poisson loss
contrib/rust/src/expr.rs:1019
↓ 2 callersFunctionpoisson_loss
dynet/expr.cc:164
↓ 2 callersFunctionpredict_and_evaluate
examples/segmental-rnn/train_segrnn-sup.cc:977
↓ 2 callersMethodpredict_for_tree
(self, tree, decorate=True, training=True)
examples/treelstm/model.py:64
↓ 2 callersFunctionprepare_minibatch
examples/noise-contrastive-estimation/train_rnnlm-batch-nce.cc:125
↓ 2 callersFunctionprocess_corpus
(sf, tf, of, sv=source_vocab, tv=target_vocab)
examples/transformer/wrap-data.py:37
↓ 2 callersFunctionprocess_test
(sf, of, vocab)
examples/transformer/wrap-data.py:79
↓ 2 callersMethodproject_weights
dynet/model.cc:270
↓ 2 callersFunctionread
(dataset, path)
examples/mnist/basic-mnist-benchmarks/mnist_dynet_minibatch.py:39
↓ 2 callersFunctionread
(dataset, path)
examples/mnist/basic-mnist-benchmarks/mnist_dynet_autobatch.py:39
↓ 2 callersFunctionread
Read a file where each line is of the form "word1 word2 ..." Yields lists of the form [word1, word2, ...]
examples/noise-contrastive-estimation/train_rnnlm-batch-nce.cc:25
↓ 2 callersFunctionread
(fname)
examples/tagger/bilstmtagger.py:14
↓ 2 callersFunctionread_mnist_labels
examples/cpp-utils/data-io.h:56
↓ 2 callersFunctionread_one_line
examples/document-classification/train_imdb.cc:153
↓ 2 callersFunctionreset_rng
dynet/init.cc:297
↓ 2 callersFunctionreshape
Reshapes to another size
contrib/rust/src/expr.rs:1047
↓ 2 callersMethodrevert
Revert the graph to the last checkpoint.
contrib/rust/src/graph.rs:48
↓ 2 callersMethodround_up_align
dynet/mem.h:19
↓ 2 callersMethodrows
Returns the size of the first dimension. This returns `0` if the dim has no dimensions. # Examples ``` # use dynet::Dim; let d1 = Dim::from([4, 5,
contrib/rust/src/dim.rs:194
↓ 2 callersFunctionrun_simple_parent
dynet/mp.h:401
↓ 2 callersMethodsample
(self, first=1, nchars=0, stop=-1)
examples/tensorboard/rnnlm-batch.py:74
↓ 2 callersFunctionsave_dynet_model
dynet/model.cc:513
↓ 2 callersFunctionsave_image
Save a given Tensor into an image file. Args: tensor (Tensor or list): Image to be saved. If given a mini-batch tensor, saves
examples/variational-autoencoder/basic-image-recon/utils.py:101
↓ 2 callersFunctionselect_cols
Selects cols
contrib/rust/src/expr.rs:1072
↓ 2 callersFunctionselect_rows
Selects rows
contrib/rust/src/expr.rs:1062
↓ 2 callersFunctionselu
dynet/expr.cc:108
↓ 2 callersMethodset_check_validity
dynet/dynet.cc:368
↓ 2 callersMethodset_dropout
(self, f)
python/dynet_viz.py:399
↓ 2 callersMethodset_h
Sets the output state of a node.
contrib/rust/src/rnn_builder.rs:45
↓ 2 callersMethodset_immediate_compute
dynet/dynet.cc:364
↓ 2 callersMethodset_lambda
dynet/weight-decay.h:18
↓ 2 callersMethodset_s
Sets the internal state of a node.
contrib/rust/src/rnn_builder.rs:58
↓ 2 callersMethodset_weightnoise
Sets the gaussian weight noise.
contrib/rust/src/rnn_builder.rs:540
↓ 2 callersFunctionshape_str
(e_dim)
python/dynet_viz.py:745
↓ 2 callersMethodshow
examples/transformer/timer.h:13
↓ 2 callersFunctionsilu
dynet/expr.cc:109
↓ 2 callersFunctionsinh
dynet/expr.cc:93
↓ 2 callersFunctionsoftsign
dynet/expr.cc:131
↓ 2 callersMethodsort
dynet/sig.h:172
↓ 2 callersFunctionsparsemax
dynet/expr.cc:126
↓ 2 callersMethodstart_new_sequence
Resets the builder for a new sequence.
contrib/rust/src/rnn_builder.rs:33
↓ 2 callersFunctionstd_dim
Computes standard deviation along a specific dimension. # Arguments x - Input mini-batched expression. dims - Dimensions along which to reduce. b -
contrib/rust/src/expr.rs:733
↓ 2 callersMethodstore
(self, exp)
examples/reinforcement-learning/ddpg.py:47
↓ 2 callersFunctionstr_split
dynet/str-util.h:18
↓ 2 callersFunctionstrided_select
Stridingly selects in multiple dimensions
contrib/rust/src/expr.rs:1112
↓ 2 callersMethodsupports_multibatch
* \brief Whether this node supports computing multiple batches in one call. * \details If true, forward and backward will be called once with a
dynet/dynet.h:634
↓ 2 callersFunctiontan
dynet/expr.cc:89
↓ 2 callersFunctiontest
(env, player, n_turns, render=False)
examples/reinforcement-learning/train_test_utils.py:66
↓ 2 callersFunctionthreshold_vocab
(fname, threshold)
examples/transformer/wrap-data.py:5
↓ 2 callersFunctiontrace_of_product
dynet/expr.cc:150
↓ 2 callersMethodtrain
examples/sequence-to-sequence/train_attention.cc:199
↓ 2 callersFunctiontrain_pipeline_conservative
(env, player, score_threshold, batch_size, n_epoch, n_rollout, n_train, learn_start=0,
examples/reinforcement-learning/train_test_utils.py:32
↓ 2 callersFunctiontransduce
(seq,Y)
bench/sequence_transduction.py:36
↓ 2 callersMethodvalues
Returns values of the parameter as a tensor.
contrib/rust/src/model.rs:41
↓ 2 callersFunctionvec
* \brief Get the data as an Eigen vector * \details This returns the full tensor contents even if it has many dimensions * \return Flattened tensor
dynet/tensor-eigen.h:36
↓ 2 callersMethodzero_allocated_memory
dynet/aligned-mem-pool.cc:58
↓ 1 callersMethodAllocateParameters
examples/word-embedding/train_tok-embed.cc:106
↓ 1 callersMethodBuildLMGraph
(self, sents)
examples/batching/rnnlm-batch.py:28
↓ 1 callersMethodBuildLMGraph
(self, sents)
examples/tensorboard/rnnlm-batch.py:30
↓ 1 callersMethodBuildLMGraph
(self, sent)
examples/rnnlm/rnnlm_transduce.py:27
↓ 1 callersMethodBuildLMGraph
return Expression of total loss
examples/multiprocessing/rnnlm.h:35
↓ 1 callersMethodClassFactoredSoftmaxBuilder
dynet/cfsm-builder.cc:79
↓ 1 callersFunctionConvertDimToArr
contrib/csharp/dynetsharp/dynetsharp/dynet.h:1670
↓ 1 callersMethodCoupledLSTMBuilder
dynet/lstm.cc:17
↓ 1 callersMethodDecode
examples/read-write/train_read-write.cc:62
↓ 1 callersMethodDynetParams
////////////////////////////////////////////////////// /////////// DynetParams Functions //////////////////// ////////////////////////////////////////
contrib/csharp/dynetsharp/dynetsharp/dynet.cpp:1587
↓ 1 callersMethodDynetParams
dynet/init.cc:23
↓ 1 callersMethodEmbedSource
examples/sentence-embedding/train_embed-cl.cc:38
↓ 1 callersMethodExpression
dynet/expr.h:38
↓ 1 callersMethodFastLSTMBuilder
dynet/fast-lstm.cc:20
↓ 1 callersMethodGRUBuilder
dynet/gru.cc:15
↓ 1 callersFunctionGlorotInitializer
<summary> <para>Initializes the weights according to 'Glorot &amp; Bengio (2011) (http://proceedings.mlr.press/v9/glorot10a/glorot10a.pdf>)'</para> <p
contrib/csharp/dynetsharp/dynetsharp/dynet.h:495
↓ 1 callersFunctionIsCurrentPredictionCorrection
examples/textcat/train_textcat.cc:150
↓ 1 callersFunctionLSTMBuilder
<summary> <para>VanillaLSTM allows to create an "standard" LSTM, ie with decoupled input and forget gate and no peepholes connections</para> <para>For
contrib/csharp/dynetsharp/dynetsharp/dynet.h:903
↓ 1 callersMethodLookupParameter
dynet/model.cc:227
↓ 1 callersMethodMin
dynet/nodes-minmax.h:11
← previousnext →501–600 of 2,496, ranked by callers