Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clab/dynet
/ functions
Functions
2,496 in github.com/clab/dynet
⨍
Functions
2,496
◇
Types & classes
546
↓ 1 callers
Method
expr_for_tree
(self, tree, decorate=False, training=True)
examples/treelstm/model.py:15
↓ 1 callers
Function
filter1d_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 callers
Method
final_h
Returns the final output of each hidden layer.
contrib/rust/src/rnn_builder.rs:144
↓ 1 callers
Method
final_s
Returns the final state of each hidden layer.
contrib/rust/src/rnn_builder.rs:190
↓ 1 callers
Function
flip_gradient
dynet/expr.cc:60
↓ 1 callers
Function
float_contents_as_int
returns the binary representation (in an int) of a float
dynet/sig.h:82
↓ 1 callers
Method
free
dynet/aligned-mem-pool.h:24
↓ 1 callers
Method
from_args
Builds a `DynetParams` from command line arguments.
contrib/rust/src/init.rs:42
↓ 1 callers
Method
from_sexpr
(string)
examples/treelstm/dataloader.py:47
↓ 1 callers
Method
fsm_loss
examples/noise-contrastive-estimation/nce.h:50
↓ 1 callers
Method
full_log_distribution
Returns an Expression representing a vector the size of the number of classes.
contrib/rust/src/softmax_builder.rs:65
↓ 1 callers
Method
full_logits
Returns the logits (before application of the softmax).
contrib/rust/src/softmax_builder.rs:78
↓ 1 callers
Method
generate
examples/sequence-to-sequence/train_attention.cc:155
↓ 1 callers
Method
getProbs
examples/noise-contrastive-estimation/sampler.h:104
↓ 1 callers
Method
get_affine_model
tests/test-params.cc:60
↓ 1 callers
Method
get_affine_model_name
tests/test-params.cc:59
↓ 1 callers
Function
get_current_graph_id
dynet/dynet.cc:25
↓ 1 callers
Function
get_embeds
(embed_path)
examples/treelstm/utils.py:20
↓ 1 callers
Function
get_env
(build_dir)
setup.py:53
↓ 1 callers
Function
get_func_name
Get function name, ie removes possible return type
doc/source/doc_util.py:54
↓ 1 callers
Method
get_head
Returns the RNN state that is the parent of the given state.
contrib/rust/src/rnn_builder.rs:105
↓ 1 callers
Method
get_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 callers
Function
get_inherit
Check if there is a parent class
doc/source/doc_util.py:44
↓ 1 callers
Method
get_lambda
dynet/weight-decay.h:22
↓ 1 callers
Method
get_message
contrib/c/dynet_c/internal.h:135
↓ 1 callers
Method
get_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 callers
Function
get_number_of_active_graphs
dynet/dynet.cc:24
↓ 1 callers
Method
get_parameter_storage
dynet/model.cc:386
↓ 1 callers
Function
get_sentence
---
examples/transformer/transformer-train.cc:540
↓ 1 callers
Function
get_vocab
(file_path)
examples/treelstm/filter_glove.py:11
↓ 1 callers
Method
get_weight_decay_lambda
* \brief Get the weight decay lambda value. */
dynet/model.h:734
↓ 1 callers
Method
get_word
dynet/hsm-builder.cc:81
↓ 1 callers
Method
gradient_l2_norm
Returns the L2 norm of the gradient in the ParameterCollection.
contrib/rust/src/model.rs:240
↓ 1 callers
Method
gradient_l2_norm
dynet/model.cc:855
↓ 1 callers
Method
gradients
Returns gradients of the parameter as a tensor.
contrib/rust/src/model.rs:53
↓ 1 callers
Method
has_grad
dynet/model.h:131
↓ 1 callers
Function
huber_distance
dynet/expr.cc:160
↓ 1 callers
Function
init_dynet
contrib/c/test/test_utils.h:12
↓ 1 callers
Method
init_from_array
(self, *args, **kwargs)
python/dynet_viz.py:174
↓ 1 callers
Method
initialize
dynet/hsm-builder.cc:46
↓ 1 callers
Function
initialize_gpu
dynet/cuda.cc:15
↓ 1 callers
Function
input_on
Inputs vector/matrix/tensor on the specified device.
contrib/rust/src/expr.rs:146
↓ 1 callers
Function
input_scalar
Inputs scalar.
contrib/rust/src/expr.rs:122
↓ 1 callers
Function
input_scalar_on
Inputs scalar on the specified device.
contrib/rust/src/expr.rs:127
↓ 1 callers
Function
input_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 callers
Method
invalidate
Clears caches.
contrib/rust/src/graph.rs:94
↓ 1 callers
Method
is_full
(self)
examples/reinforcement-learning/memory.py:60
↓ 1 callers
Function
is_infinite
examples/transformer/math-utils.h:5
↓ 1 callers
Function
is_nan
examples/transformer/math-utils.h:19
↓ 1 callers
Function
is_valid
examples/transformer/math-utils.h:26
↓ 1 callers
Method
is_wheel
(self, path)
setup.py:322
↓ 1 callers
Method
leaves
(self)
examples/treelstm/dataloader.py:67
↓ 1 callers
Method
leaves_iter
(self)
examples/treelstm/dataloader.py:60
↓ 1 callers
Method
load
(&mut self, path: P)
contrib/rust/src/model.rs:96
↓ 1 callers
Function
load_data
---
examples/transformer/transformer-train.cc:251
↓ 1 callers
Function
load_data
---
examples/transformer/transformer-decode.cc:141
↓ 1 callers
Function
load_dicts
examples/segmental-rnn/train_segrnn-sup.cc:910
↓ 1 callers
Method
load_embedding
examples/segmental-rnn/train_segrnn-sup.cc:74
↓ 1 callers
Method
load_from_disk
(self, filename)
examples/rnnlm/rnnlm.py:27
↓ 1 callers
Method
load_lookup_param
Load a lookup parameter from a model.
contrib/rust/src/io.rs:194
↓ 1 callers
Function
load_model_config
---
examples/transformer/transformer-decode.cc:206
↓ 1 callers
Method
load_param
Load a parameter from a model.
contrib/rust/src/io.rs:172
↓ 1 callers
Function
logdet
dynet/nodes-linalg.cc:138
↓ 1 callers
Function
logsumexp
dynet/nodes-softmaxes.cc:233
↓ 1 callers
Function
logsumexp_dim
dynet/expr.cc:125
↓ 1 callers
Function
lookup
(p, index=0, update=True)
python/dynet_viz.py:248
↓ 1 callers
Function
lookup_one
Looks up parameter.
contrib/rust/src/expr.rs:256
↓ 1 callers
Method
loss
examples/word-embedding/train_tok-embed.cc:136
↓ 1 callers
Method
losses_for_tree
(self, tree, summation=True)
examples/treelstm/model.py:74
↓ 1 callers
Method
losses_for_tree_batch
(self, trees)
examples/treelstm/model.py:80
↓ 1 callers
Method
main
(String[] args)
contrib/swig/src/main/java/edu/cmu/dynet/examples/XorExample.java:21
↓ 1 callers
Function
make_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 callers
Function
make_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 callers
Function
make_vocab
(filename: P)
contrib/rust/examples/rnnlm/rnnlm.rs:71
↓ 1 callers
Method
mark
dynet/devices.cc:61
↓ 1 callers
Function
maybe_download_and_extract
Download and extract processed data and embeddings.
examples/treelstm/main.py:24
↓ 1 callers
Function
mod
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 callers
Function
modelTestA
tests/test-serialize.cc:18
↓ 1 callers
Function
moment_batches
dynet/expr.cc:240
↓ 1 callers
Function
moment_elems
dynet/expr.cc:224
↓ 1 callers
Method
nce_loss
examples/noise-contrastive-estimation/nce.h:58
↓ 1 callers
Method
new_graph
examples/multiprocessing/train_xor-simple-mp.cc:29
↓ 1 callers
Function
new_index
()
python/dynet_viz.py:20
↓ 1 callers
Function
new_style_save_and_load
()
python/model_test.py:94
↓ 1 callers
Method
num_h0_components
Returns the number of components in `h_0`.
contrib/rust/src/rnn_builder.rs:236
↓ 1 callers
Method
objective
examples/document-classification/train_imdb.cc:81
↓ 1 callers
Function
old_style_save_and_load
()
python/model_test.py:54
↓ 1 callers
Function
one_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 callers
Function
operator!=
dynet/sig.h:79
↓ 1 callers
Function
operator*
* \ingroup arithmeticoperations * \brief Matrix-scalar multiplication * \details Multiply an expression component-wise by a scalar. * * \param x T
dynet/expr.h:630
↓ 1 callers
Function
operator+
dynet/expr.cc:66
↓ 1 callers
Function
operator-
dynet/expr.cc:65
↓ 1 callers
Function
operator/
* \ingroup arithmeticoperations * \brief Matrix-scalar division * \details Divide an expression component-wise by a scalar. * * \param x The matri
dynet/expr.h:642
↓ 1 callers
Function
operator==
dynet/sig.h:40
↓ 1 callers
Method
parameter_count
Returns the total number of tunable parameters.
contrib/rust/src/model.rs:376
↓ 1 callers
Method
parameters
(self, params)
python/dynet_viz.py:223
↓ 1 callers
Method
parameters_need_rescaled
dynet/weight-decay.h:30
↓ 1 callers
Function
pick_batch_elem
Picks batch element
contrib/rust/src/expr.rs:1097
↓ 1 callers
Function
pick_batch_elems
Picks batch elements
contrib/rust/src/expr.rs:1102
↓ 1 callers
Method
populate_lookup_parameter
Load a lookup parameter.
contrib/rust/src/io.rs:153
← previous
next →
701–800 of 2,496, ranked by callers