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
Function
NormalInitializer
<summary> <para>Initialize the parameters with a gaussian distribution</para> </summary> <param name='mean'>Mean of the distribution (default: 0)</par
contrib/csharp/dynetsharp/dynetsharp/dynet.h:406
↓ 1 callers
Method
Parameter
dynet/model.cc:188
↓ 1 callers
Function
ParseTrainingInstance
a a 0 1 a ||| O:1 O:1 N:2 O:1
examples/segmental-rnn/train_segrnn-sup.cc:700
↓ 1 callers
Method
PartiallySupervisedCRFLoss
examples/segmental-rnn/train_segrnn-sup.cc:474
↓ 1 callers
Method
RNNBuilder
* * \brief Default constructor */
dynet/rnn.h:35
↓ 1 callers
Method
RandomSample
* \brief Samples a string of words/characters from the model * \details This can be used to debug and/or have fun. Try it on * new datasets!
examples/batching/rnnlm-batch.h:164
↓ 1 callers
Method
RandomSample
examples/rnnlm/train_rnnlm.cc:84
↓ 1 callers
Function
ReadFromFile
examples/read-write/train_read-write.cc:78
↓ 1 callers
Function
SaxeInitializer
<summary> <para>Initializes according to 'Saxe et al. (2014) (https://arxiv.org/abs/1312.6120)'</para> <para>Initializes as a random orthonormal matri
contrib/csharp/dynetsharp/dynetsharp/dynet.h:522
↓ 1 callers
Method
SimpleRNNBuilder
dynet/rnn.cc:20
↓ 1 callers
Function
SparseLSTMBuilder
<summary> <para>VanillaLSTM allows to create an "standard" LSTM, ie with decoupled input and forget gate and no peepholes connections</para> <para>Dur
contrib/csharp/dynetsharp/dynetsharp/dynet.h:947
↓ 1 callers
Method
SparseLSTMBuilder
dynet/lstm.cc:581
↓ 1 callers
Method
StandardSoftmaxBuilder
dynet/cfsm-builder.cc:17
↓ 1 callers
Method
SupervisedCRFLoss
return Expression of total loss
examples/segmental-rnn/train_segrnn-sup.cc:407
↓ 1 callers
Method
SupervisedHingeLoss
return Expression of total loss
examples/segmental-rnn/train_segrnn-sup.cc:591
↓ 1 callers
Method
Tensor
* \brief Create an empty tensor */
dynet/tensor.h:48
↓ 1 callers
Method
Train
examples/read-write/train_read-write.cc:45
↓ 1 callers
Function
Trainer
contrib/csharp/dynetsharp/dynetsharp/dynet.h:1038
↓ 1 callers
Method
Trainer
* \brief General constructor for a Trainer * * \param m ParameterCollection to be trained * \param learning_rate Initial learning rate */
dynet/training.h:56
↓ 1 callers
Function
UTF8Len
given the first character of a UTF8 block, find out how wide it is see http://en.wikipedia.org/wiki/UTF-8 for more info
examples/word-embedding/train_tok-embed.cc:38
↓ 1 callers
Function
WriteToFile
examples/read-write/train_read-write.cc:73
↓ 1 callers
Method
__init__
(self, inpt_shape, hiddens, activation=dy.rectify, layer_norm=False, pc=None)
examples/reinforcement-learning/network.py:16
↓ 1 callers
Function
_cadd
(a, b)
python/dynet_viz.py:117
↓ 1 callers
Function
_cdiv
(a, b)
python/dynet_viz.py:119
↓ 1 callers
Function
_cmul
(a, b)
python/dynet_viz.py:118
↓ 1 callers
Method
_load_param_embed
(self, model_meta_file)
examples/treelstm/model.py:100
↓ 1 callers
Function
_mul
(a, b)
python/dynet_viz.py:114
↓ 1 callers
Method
_print_time_statistics
(total_time)
examples/treelstm/scheduler.py:65
↓ 1 callers
Method
_process
(exps)
examples/reinforcement-learning/ddpg.py:88
↓ 1 callers
Method
_process
(exps)
examples/reinforcement-learning/dqn.py:104
↓ 1 callers
Function
_tokenize_sexpr
(s)
examples/treelstm/dataloader.py:22
↓ 1 callers
Function
_within_bracket
(toks)
examples/treelstm/dataloader.py:28
↓ 1 callers
Method
accumulate_grads
dynet/model.cc:749
↓ 1 callers
Method
add_auxiliary_input
Adds auxiliary output.
contrib/rust/src/rnn_builder.rs:318
↓ 1 callers
Method
add_child
dynet/hsm-builder.cc:23
↓ 1 callers
Method
add_named_lookup_parameters_on
Adds lookup parameters with a name on an explicit device. # Arguments n - Number of lookup indices. d - Dimension of each embedding. init - Initiali
contrib/rust/src/model.rs:328
↓ 1 callers
Method
add_named_parameters_on
Adds parameters with a name on an explicit device. # Panics Panics if `name` has an invalid character including `/` and `_`.
contrib/rust/src/model.rs:283
↓ 1 callers
Method
add_named_subcollection
Adds a subcollection with a name. # Panics Panics if `name` has an invalid character including `/` and `_`.
contrib/rust/src/model.rs:362
↓ 1 callers
Method
add_word
dynet/hsm-builder.cc:41
↓ 1 callers
Method
as_vector
Retrieves internal values in the tensor as a vector. For higher order tensors this returns the flattened value.
contrib/rust/src/tensor.rs:63
↓ 1 callers
Method
autobatch_concat
* \brief which inputs can be batched * \detail This will be true for inputs that should be concatenated when * autobatching, and false f
dynet/dynet.h:681
↓ 1 callers
Method
autobatch_pseudo_node
* \brief create a pseudonode for autobatching * \detail This will combine together multiple nodes into one big node for * the automatic
dynet/dynet.h:693
↓ 1 callers
Method
autobatch_reshape
* \brief reshape the tensors for auto * \detail Takes in info, and reshapes the dimensions of xs (for which * "concat" is true), and fx.
dynet/dynet.h:705
↓ 1 callers
Function
average_cols
dynet/expr.cc:210
↓ 1 callers
Method
back
dynet/rnn.h:308
↓ 1 callers
Method
back
dynet/gru.h:17
↓ 1 callers
Method
batch_elems
Returns the batch dimension. # Examples ``` # use dynet::Dim; let dim = Dim::from(([4, 5, 6], 8)); assert_eq!(dim.batch_elems(), 8); ```
contrib/rust/src/dim.rs:236
↓ 1 callers
Method
batches
(self, batch_size=25)
examples/treelstm/dataloader.py:95
↓ 1 callers
Function
build_bindings
()
contrib/rust/dynet-sys/build.rs:184
↓ 1 callers
Function
build_from_src
()
contrib/rust/dynet-sys/build.rs:95
↓ 1 callers
Function
build_graph
examples/transformer/transformer.h:442
↓ 1 callers
Method
build_lm_graph
(self, sent)
examples/rnnlm/rnnlm.py:30
↓ 1 callers
Function
build_tagging_graph
(words, tags, builders)
examples/tagger/bilstmtagger.py:66
↓ 1 callers
Function
calc_size
examples/transformer/batch-utils.h:28
↓ 1 callers
Function
check_max_seg
examples/segmental-rnn/train_segrnn-sup.cc:736
↓ 1 callers
Function
circ_conv
dynet/expr.cc:157
↓ 1 callers
Function
circ_corr
dynet/expr.cc:158
↓ 1 callers
Method
classify
examples/document-classification/train_imdb.cc:72
↓ 1 callers
Method
clear
dynet/dynet.cc:109
↓ 1 callers
Method
clip_inplace
dynet/model.cc:206
↓ 1 callers
Function
collapse_birnn_states
(nodes, compact)
python/dynet_viz.py:957
↓ 1 callers
Method
cols
Returns the size of the second dimension. This returns `1` if the dim has only one dimension or no dimensions. # Examples ``` # use dynet::Dim; let
contrib/rust/src/dim.rs:219
↓ 1 callers
Method
compute_loss
examples/multiprocessing/train_xor-simple-mp.cc:37
↓ 1 callers
Method
compute_loss
examples/multiprocessing/train_xor-mp.cc:38
↓ 1 callers
Function
constrained_softmax
dynet/expr.cc:130
↓ 1 callers
Method
construct_chart
examples/segmental-rnn/train_segrnn-sup.cc:267
↓ 1 callers
Method
contains
dynet/dict.h:22
↓ 1 callers
Function
contract3d_1d_1d
dynet/expr.cc:79
↓ 1 callers
Method
copy
Copies the parameters of another builder.
contrib/rust/src/rnn_builder.rs:248
↓ 1 callers
Method
copy
dynet/rnn.cc:183
↓ 1 callers
Function
copy_vector_to_array
contrib/c/dynet_c/internal.h:205
↓ 1 callers
Method
create_future_blinding_mask
examples/transformer/transformer.h:350
↓ 1 callers
Function
create_minibatches
examples/transformer/batch-utils.h:32
↓ 1 callers
Method
create_network_return_best
(self, inputs, dropout=False)
examples/mnist/basic-mnist-benchmarks/mnist_dynet_minibatch.py:101
↓ 1 callers
Method
create_network_return_best
(self, inputs, dropout=False)
examples/mnist/basic-mnist-benchmarks/mnist_dynet_autobatch.py:100
↓ 1 callers
Function
create_sgd_trainer
---
examples/transformer/transformer-train.cc:335
↓ 1 callers
Function
create_triangle_mask
examples/transformer/mask-utils.h:19
↓ 1 callers
Function
cumsum
dynet/expr.cc:216
↓ 1 callers
Function
decode
---
examples/transformer/transformer-decode.cc:265
↓ 1 callers
Method
delete
(model_meta_file)
examples/treelstm/model.py:108
↓ 1 callers
Method
dim_forward
dynet/nodes-lstm.cc:24
↓ 1 callers
Function
download_examples
(path)
examples/mnist/mnist-autobatch.py:93
↓ 1 callers
Function
download_prebuild
()
contrib/rust/dynet-sys/build.rs:91
↓ 1 callers
Function
dropout_batch
dynet/expr.cc:137
↓ 1 callers
Method
dump
Dump the ComputationGraph.
contrib/rust/src/graph.rs:120
↓ 1 callers
Function
edit_distance
examples/segmental-rnn/train_segrnn-sup.cc:929
↓ 1 callers
Function
elu
dynet/expr.cc:107
↓ 1 callers
Function
emax
(xs)
python/dynet_viz.py:350
↓ 1 callers
Method
embed
examples/word-embedding/train_tok-embed.cc:187
↓ 1 callers
Method
enable_dropout
* \brief Enable dropout * \details This is supposed to be used during training or during testing if you want to sample outputs using montecarlo
examples/mnist/mlp.h:227
↓ 1 callers
Method
encode
(self, x)
examples/variational-autoencoder/basic-image-recon/vae.py:90
↓ 1 callers
Method
eq
(&self, other: &Dim)
contrib/rust/src/dim.rs:334
↓ 1 callers
Function
establish_args
()
examples/treelstm/main.py:45
↓ 1 callers
Function
establish_args
()
examples/reinforcement-learning/main_ddpg.py:7
↓ 1 callers
Function
establish_args
()
examples/reinforcement-learning/main_dqn.py:9
↓ 1 callers
Function
eval_model
(model_meta_file)
examples/treelstm/main.py:137
↓ 1 callers
Function
evaluate
examples/segmental-rnn/train_segrnn-sup.cc:748
↓ 1 callers
Function
evaluate_partial
examples/segmental-rnn/train_segrnn-sup.cc:943
↓ 1 callers
Function
exec_train
(model_params, scheduler_params)
examples/treelstm/main.py:124
↓ 1 callers
Method
exec_train
(self, max_turns=1000)
examples/treelstm/scheduler.py:22
← previous
next →
601–700 of 2,496, ranked by callers