MCPcopy Create free account

hub / github.com/clab/dynet / functions

Functions2,496 in github.com/clab/dynet

↓ 1 callersMethodexpr_for_tree
(self, tree, decorate=False, training=True)
examples/treelstm/model.py:15
↓ 1 callersFunctionfilter1d_narrow
Expression conv1d_narrow(const Expression& x, const Expression& f) { return Expression(x.pg, x.pg->add_function<Conv1DNarrow>({x.i, f.i})); } Expressi
dynet/expr.cc:169
↓ 1 callersMethodfinal_h
Returns the final output of each hidden layer.
contrib/rust/src/rnn_builder.rs:144
↓ 1 callersMethodfinal_s
Returns the final state of each hidden layer.
contrib/rust/src/rnn_builder.rs:190
↓ 1 callersFunctionflip_gradient
dynet/expr.cc:60
↓ 1 callersFunctionfloat_contents_as_int
returns the binary representation (in an int) of a float
dynet/sig.h:82
↓ 1 callersMethodfree
dynet/aligned-mem-pool.h:24
↓ 1 callersMethodfrom_args
Builds a `DynetParams` from command line arguments.
contrib/rust/src/init.rs:42
↓ 1 callersMethodfrom_sexpr
(string)
examples/treelstm/dataloader.py:47
↓ 1 callersMethodfsm_loss
examples/noise-contrastive-estimation/nce.h:50
↓ 1 callersMethodfull_log_distribution
Returns an Expression representing a vector the size of the number of classes.
contrib/rust/src/softmax_builder.rs:65
↓ 1 callersMethodfull_logits
Returns the logits (before application of the softmax).
contrib/rust/src/softmax_builder.rs:78
↓ 1 callersMethodgenerate
examples/sequence-to-sequence/train_attention.cc:155
↓ 1 callersMethodgetProbs
examples/noise-contrastive-estimation/sampler.h:104
↓ 1 callersMethodget_affine_model
tests/test-params.cc:60
↓ 1 callersMethodget_affine_model_name
tests/test-params.cc:59
↓ 1 callersFunctionget_current_graph_id
dynet/dynet.cc:25
↓ 1 callersFunctionget_embeds
(embed_path)
examples/treelstm/utils.py:20
↓ 1 callersFunctionget_env
(build_dir)
setup.py:53
↓ 1 callersFunctionget_func_name
Get function name, ie removes possible return type
doc/source/doc_util.py:54
↓ 1 callersMethodget_head
Returns the RNN state that is the parent of the given state.
contrib/rust/src/rnn_builder.rs:105
↓ 1 callersMethodget_id
* \brief Get the unique graph ID * \details This ID is incremented by 1 each time a computation graph is * created \return graph id */
dynet/dynet.h:487
↓ 1 callersFunctionget_inherit
Check if there is a parent class
doc/source/doc_util.py:44
↓ 1 callersMethodget_lambda
dynet/weight-decay.h:22
↓ 1 callersMethodget_message
contrib/c/dynet_c/internal.h:135
↓ 1 callersMethodget_nll
* \brief Return the negative log likelihood for the (batched) pair (x,y) * \details For a batched input \f$\{x_i\}_{i=1,\dots,N}\f$, \f$\{y_i\}_{i=
examples/mnist/mlp.h:187
↓ 1 callersFunctionget_number_of_active_graphs
dynet/dynet.cc:24
↓ 1 callersMethodget_parameter_storage
dynet/model.cc:386
↓ 1 callersFunctionget_sentence
---
examples/transformer/transformer-train.cc:540
↓ 1 callersFunctionget_vocab
(file_path)
examples/treelstm/filter_glove.py:11
↓ 1 callersMethodget_weight_decay_lambda
* \brief Get the weight decay lambda value. */
dynet/model.h:734
↓ 1 callersMethodget_word
dynet/hsm-builder.cc:81
↓ 1 callersMethodgradient_l2_norm
Returns the L2 norm of the gradient in the ParameterCollection.
contrib/rust/src/model.rs:240
↓ 1 callersMethodgradient_l2_norm
dynet/model.cc:855
↓ 1 callersMethodgradients
Returns gradients of the parameter as a tensor.
contrib/rust/src/model.rs:53
↓ 1 callersMethodhas_grad
dynet/model.h:131
↓ 1 callersFunctionhuber_distance
dynet/expr.cc:160
↓ 1 callersFunctioninit_dynet
contrib/c/test/test_utils.h:12
↓ 1 callersMethodinit_from_array
(self, *args, **kwargs)
python/dynet_viz.py:174
↓ 1 callersMethodinitialize
dynet/hsm-builder.cc:46
↓ 1 callersFunctioninitialize_gpu
dynet/cuda.cc:15
↓ 1 callersFunctioninput_on
Inputs vector/matrix/tensor on the specified device.
contrib/rust/src/expr.rs:146
↓ 1 callersFunctioninput_scalar
Inputs scalar.
contrib/rust/src/expr.rs:122
↓ 1 callersFunctioninput_scalar_on
Inputs scalar on the specified device.
contrib/rust/src/expr.rs:127
↓ 1 callersFunctioninput_sparse_on
Inputs sparse vector on the specified device. # Arguments g - Computation graph. d - Dimension of the input matrix. ids - The indexes of the data po
contrib/rust/src/expr.rs:184
↓ 1 callersMethodinvalidate
Clears caches.
contrib/rust/src/graph.rs:94
↓ 1 callersMethodis_full
(self)
examples/reinforcement-learning/memory.py:60
↓ 1 callersFunctionis_infinite
examples/transformer/math-utils.h:5
↓ 1 callersFunctionis_nan
examples/transformer/math-utils.h:19
↓ 1 callersFunctionis_valid
examples/transformer/math-utils.h:26
↓ 1 callersMethodis_wheel
(self, path)
setup.py:322
↓ 1 callersMethodleaves
(self)
examples/treelstm/dataloader.py:67
↓ 1 callersMethodleaves_iter
(self)
examples/treelstm/dataloader.py:60
↓ 1 callersMethodload
(&mut self, path: P)
contrib/rust/src/model.rs:96
↓ 1 callersFunctionload_data
---
examples/transformer/transformer-train.cc:251
↓ 1 callersFunctionload_data
---
examples/transformer/transformer-decode.cc:141
↓ 1 callersFunctionload_dicts
examples/segmental-rnn/train_segrnn-sup.cc:910
↓ 1 callersMethodload_embedding
examples/segmental-rnn/train_segrnn-sup.cc:74
↓ 1 callersMethodload_from_disk
(self, filename)
examples/rnnlm/rnnlm.py:27
↓ 1 callersMethodload_lookup_param
Load a lookup parameter from a model.
contrib/rust/src/io.rs:194
↓ 1 callersFunctionload_model_config
---
examples/transformer/transformer-decode.cc:206
↓ 1 callersMethodload_param
Load a parameter from a model.
contrib/rust/src/io.rs:172
↓ 1 callersFunctionlogdet
dynet/nodes-linalg.cc:138
↓ 1 callersFunctionlogsumexp
dynet/nodes-softmaxes.cc:233
↓ 1 callersFunctionlogsumexp_dim
dynet/expr.cc:125
↓ 1 callersFunctionlookup
(p, index=0, update=True)
python/dynet_viz.py:248
↓ 1 callersFunctionlookup_one
Looks up parameter.
contrib/rust/src/expr.rs:256
↓ 1 callersMethodloss
examples/word-embedding/train_tok-embed.cc:136
↓ 1 callersMethodlosses_for_tree
(self, tree, summation=True)
examples/treelstm/model.py:74
↓ 1 callersMethodlosses_for_tree_batch
(self, trees)
examples/treelstm/model.py:80
↓ 1 callersMethodmain
(String[] args)
contrib/swig/src/main/java/edu/cmu/dynet/examples/XorExample.java:21
↓ 1 callersFunctionmake_grid
Make a grid of images, via numpy. Args: tensor (Tensor or list): 4D mini-batch Tensor of shape (B x C x H x W) or a list of i
examples/variational-autoencoder/basic-image-recon/utils.py:44
↓ 1 callersFunctionmake_network_graph
Make a network graph, represented as of nodes and a set of edges. The nodes are represented as tuples: (name: string, input_dim: Dim, label: st
python/dynet_viz.py:775
↓ 1 callersFunctionmake_vocab
(filename: P)
contrib/rust/examples/rnnlm/rnnlm.rs:71
↓ 1 callersMethodmark
dynet/devices.cc:61
↓ 1 callersFunctionmaybe_download_and_extract
Download and extract processed data and embeddings.
examples/treelstm/main.py:24
↓ 1 callersFunctionmod
These operations are implemented using FFTs (described below), but the slow quadratic implementation is left here for a reference.
dynet/nodes-conv.cc:360
↓ 1 callersFunctionmodelTestA
tests/test-serialize.cc:18
↓ 1 callersFunctionmoment_batches
dynet/expr.cc:240
↓ 1 callersFunctionmoment_elems
dynet/expr.cc:224
↓ 1 callersMethodnce_loss
examples/noise-contrastive-estimation/nce.h:58
↓ 1 callersMethodnew_graph
examples/multiprocessing/train_xor-simple-mp.cc:29
↓ 1 callersFunctionnew_index
()
python/dynet_viz.py:20
↓ 1 callersFunctionnew_style_save_and_load
()
python/model_test.py:94
↓ 1 callersMethodnum_h0_components
Returns the number of components in `h_0`.
contrib/rust/src/rnn_builder.rs:236
↓ 1 callersMethodobjective
examples/document-classification/train_imdb.cc:81
↓ 1 callersFunctionold_style_save_and_load
()
python/model_test.py:54
↓ 1 callersFunctionone_hot_on
Creates batched one hot vectors on the specified device. # Arguments g - Computation graph. d - Dimension of the input vector. ids - The indices we
contrib/rust/src/expr.rs:219
↓ 1 callersFunctionoperator!=
dynet/sig.h:79
↓ 1 callersFunctionoperator*
* \ingroup arithmeticoperations * \brief Matrix-scalar multiplication * \details Multiply an expression component-wise by a scalar. * * \param x T
dynet/expr.h:630
↓ 1 callersFunctionoperator+
dynet/expr.cc:66
↓ 1 callersFunctionoperator-
dynet/expr.cc:65
↓ 1 callersFunctionoperator/
* \ingroup arithmeticoperations * \brief Matrix-scalar division * \details Divide an expression component-wise by a scalar. * * \param x The matri
dynet/expr.h:642
↓ 1 callersFunctionoperator==
dynet/sig.h:40
↓ 1 callersMethodparameter_count
Returns the total number of tunable parameters.
contrib/rust/src/model.rs:376
↓ 1 callersMethodparameters
(self, params)
python/dynet_viz.py:223
↓ 1 callersMethodparameters_need_rescaled
dynet/weight-decay.h:30
↓ 1 callersFunctionpick_batch_elem
Picks batch element
contrib/rust/src/expr.rs:1097
↓ 1 callersFunctionpick_batch_elems
Picks batch elements
contrib/rust/src/expr.rs:1102
↓ 1 callersMethodpopulate_lookup_parameter
Load a lookup parameter.
contrib/rust/src/io.rs:153
← previousnext →701–800 of 2,496, ranked by callers