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
↓ 2 callers
Function
make_reverse_time_distributed
examples/transformer/expr-xtra.h:147
↓ 2 callers
Function
make_sinusoidal_position_encoding
--- Sinusoidal Positional Encoding Note: think effective way to make this much faster!
examples/transformer/transformer.h:604
↓ 2 callers
Function
make_time_distributed
examples/transformer/expr-xtra.h:139
↓ 2 callers
Function
mean_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 callers
Method
minibatch_lm_loss
(self, sents)
examples/rnnlm/lstmlm-auto.py:63
↓ 2 callers
Function
moment_batches
Computes moment over mini-batches. # Arguments x - Input mini-batched expression. r - Order of the moment.
contrib/rust/src/expr.rs:643
↓ 2 callers
Function
moment_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 callers
Function
moment_elems
Computes moment over all elements. # Arguments x - Input mini-batched expression. r - Order of the moment.
contrib/rust/src/expr.rs:621
↓ 2 callers
Method
neg_log_softmax
Computes batched negative log probability of a class.
contrib/rust/src/softmax_builder.rs:37
↓ 2 callers
Method
new_graph
(self)
python/dynet_viz.py:402
↓ 2 callers
Function
noise
Adds Gaussian noise
contrib/rust/src/expr.rs:1158
↓ 2 callers
Function
noise
dynet/expr.cc:135
↓ 2 callers
Method
nonterms
(self)
examples/treelstm/dataloader.py:76
↓ 2 callers
Method
nonterms_iter
(self)
examples/treelstm/dataloader.py:70
↓ 2 callers
Function
not_ws
dynet/cfsm-builder.cc:13
↓ 2 callers
Function
not_ws
dynet/hsm-builder.cc:241
↓ 2 callers
Method
num_children
dynet/hsm-builder.cc:71
↓ 2 callers
Method
num_devices
Returns the number of global devices.
contrib/rust/src/device.rs:63
↓ 2 callers
Method
num_nonone_dims
* \brief Number of non-one dimensions * \return Number of non-one dimensions */
dynet/dim.h:165
↓ 2 callers
Function
one_hot
dynet/expr.cc:23
↓ 2 callers
Function
pairwise_rank_loss
dynet/expr.cc:163
↓ 2 callers
Method
parameter_count
dynet/model.cc:478
↓ 2 callers
Function
pick_batch_elems
dynet/expr.cc:187
↓ 2 callers
Function
pickneglogsoftmax_one
Computes negative softmax log likelihood
contrib/rust/src/expr.rs:904
↓ 2 callers
Function
poisson_loss
Computes Poisson loss
contrib/rust/src/expr.rs:1019
↓ 2 callers
Function
poisson_loss
dynet/expr.cc:164
↓ 2 callers
Function
predict_and_evaluate
examples/segmental-rnn/train_segrnn-sup.cc:977
↓ 2 callers
Method
predict_for_tree
(self, tree, decorate=True, training=True)
examples/treelstm/model.py:64
↓ 2 callers
Function
prepare_minibatch
examples/noise-contrastive-estimation/train_rnnlm-batch-nce.cc:125
↓ 2 callers
Function
process_corpus
(sf, tf, of, sv=source_vocab, tv=target_vocab)
examples/transformer/wrap-data.py:37
↓ 2 callers
Function
process_test
(sf, of, vocab)
examples/transformer/wrap-data.py:79
↓ 2 callers
Method
project_weights
dynet/model.cc:270
↓ 2 callers
Function
read
(dataset, path)
examples/mnist/basic-mnist-benchmarks/mnist_dynet_minibatch.py:39
↓ 2 callers
Function
read
(dataset, path)
examples/mnist/basic-mnist-benchmarks/mnist_dynet_autobatch.py:39
↓ 2 callers
Function
read
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 callers
Function
read
(fname)
examples/tagger/bilstmtagger.py:14
↓ 2 callers
Function
read_mnist_labels
examples/cpp-utils/data-io.h:56
↓ 2 callers
Function
read_one_line
examples/document-classification/train_imdb.cc:153
↓ 2 callers
Function
reset_rng
dynet/init.cc:297
↓ 2 callers
Function
reshape
Reshapes to another size
contrib/rust/src/expr.rs:1047
↓ 2 callers
Method
revert
Revert the graph to the last checkpoint.
contrib/rust/src/graph.rs:48
↓ 2 callers
Method
round_up_align
dynet/mem.h:19
↓ 2 callers
Method
rows
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 callers
Function
run_simple_parent
dynet/mp.h:401
↓ 2 callers
Method
sample
(self, first=1, nchars=0, stop=-1)
examples/tensorboard/rnnlm-batch.py:74
↓ 2 callers
Function
save_dynet_model
dynet/model.cc:513
↓ 2 callers
Function
save_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 callers
Function
select_cols
Selects cols
contrib/rust/src/expr.rs:1072
↓ 2 callers
Function
select_rows
Selects rows
contrib/rust/src/expr.rs:1062
↓ 2 callers
Function
selu
dynet/expr.cc:108
↓ 2 callers
Method
set_check_validity
dynet/dynet.cc:368
↓ 2 callers
Method
set_dropout
(self, f)
python/dynet_viz.py:399
↓ 2 callers
Method
set_h
Sets the output state of a node.
contrib/rust/src/rnn_builder.rs:45
↓ 2 callers
Method
set_immediate_compute
dynet/dynet.cc:364
↓ 2 callers
Method
set_lambda
dynet/weight-decay.h:18
↓ 2 callers
Method
set_s
Sets the internal state of a node.
contrib/rust/src/rnn_builder.rs:58
↓ 2 callers
Method
set_weightnoise
Sets the gaussian weight noise.
contrib/rust/src/rnn_builder.rs:540
↓ 2 callers
Function
shape_str
(e_dim)
python/dynet_viz.py:745
↓ 2 callers
Method
show
examples/transformer/timer.h:13
↓ 2 callers
Function
silu
dynet/expr.cc:109
↓ 2 callers
Function
sinh
dynet/expr.cc:93
↓ 2 callers
Function
softsign
dynet/expr.cc:131
↓ 2 callers
Method
sort
dynet/sig.h:172
↓ 2 callers
Function
sparsemax
dynet/expr.cc:126
↓ 2 callers
Method
start_new_sequence
Resets the builder for a new sequence.
contrib/rust/src/rnn_builder.rs:33
↓ 2 callers
Function
std_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 callers
Method
store
(self, exp)
examples/reinforcement-learning/ddpg.py:47
↓ 2 callers
Function
str_split
dynet/str-util.h:18
↓ 2 callers
Function
strided_select
Stridingly selects in multiple dimensions
contrib/rust/src/expr.rs:1112
↓ 2 callers
Method
supports_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 callers
Function
tan
dynet/expr.cc:89
↓ 2 callers
Function
test
(env, player, n_turns, render=False)
examples/reinforcement-learning/train_test_utils.py:66
↓ 2 callers
Function
threshold_vocab
(fname, threshold)
examples/transformer/wrap-data.py:5
↓ 2 callers
Function
trace_of_product
dynet/expr.cc:150
↓ 2 callers
Method
train
examples/sequence-to-sequence/train_attention.cc:199
↓ 2 callers
Function
train_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 callers
Function
transduce
(seq,Y)
bench/sequence_transduction.py:36
↓ 2 callers
Method
values
Returns values of the parameter as a tensor.
contrib/rust/src/model.rs:41
↓ 2 callers
Function
vec
* \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 callers
Method
zero_allocated_memory
dynet/aligned-mem-pool.cc:58
↓ 1 callers
Method
AllocateParameters
examples/word-embedding/train_tok-embed.cc:106
↓ 1 callers
Method
BuildLMGraph
(self, sents)
examples/batching/rnnlm-batch.py:28
↓ 1 callers
Method
BuildLMGraph
(self, sents)
examples/tensorboard/rnnlm-batch.py:30
↓ 1 callers
Method
BuildLMGraph
(self, sent)
examples/rnnlm/rnnlm_transduce.py:27
↓ 1 callers
Method
BuildLMGraph
return Expression of total loss
examples/multiprocessing/rnnlm.h:35
↓ 1 callers
Method
ClassFactoredSoftmaxBuilder
dynet/cfsm-builder.cc:79
↓ 1 callers
Function
ConvertDimToArr
contrib/csharp/dynetsharp/dynetsharp/dynet.h:1670
↓ 1 callers
Method
CoupledLSTMBuilder
dynet/lstm.cc:17
↓ 1 callers
Method
Decode
examples/read-write/train_read-write.cc:62
↓ 1 callers
Method
DynetParams
////////////////////////////////////////////////////// /////////// DynetParams Functions //////////////////// ////////////////////////////////////////
contrib/csharp/dynetsharp/dynetsharp/dynet.cpp:1587
↓ 1 callers
Method
DynetParams
dynet/init.cc:23
↓ 1 callers
Method
EmbedSource
examples/sentence-embedding/train_embed-cl.cc:38
↓ 1 callers
Method
Expression
dynet/expr.h:38
↓ 1 callers
Method
FastLSTMBuilder
dynet/fast-lstm.cc:20
↓ 1 callers
Method
GRUBuilder
dynet/gru.cc:15
↓ 1 callers
Function
GlorotInitializer
<summary> <para>Initializes the weights according to 'Glorot & Bengio (2011) (http://proceedings.mlr.press/v9/glorot10a/glorot10a.pdf>)'</para> <p
contrib/csharp/dynetsharp/dynetsharp/dynet.h:495
↓ 1 callers
Function
IsCurrentPredictionCorrection
examples/textcat/train_textcat.cc:150
↓ 1 callers
Function
LSTMBuilder
<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 callers
Method
LookupParameter
dynet/model.cc:227
↓ 1 callers
Method
Min
dynet/nodes-minmax.h:11
← previous
next →
501–600 of 2,496, ranked by callers