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
↓ 16 callers
Function
squared_distance
dynet/expr.cc:159
↓ 16 callers
Method
transpose
* \brief Transpose a vector or a matrix * \details This raises an invalid_argument exception on tensors with more than 2 dimensions * \return The
dynet/dim.h:289
↓ 15 callers
Method
add_parameters
Adds parameters.
contrib/rust/src/model.rs:274
↓ 15 callers
Function
allocate_shadow_lookup_parameters
dynet/shadow-params.cc:46
↓ 15 callers
Function
allocate_shadow_parameters
dynet/shadow-params.cc:37
↓ 15 callers
Method
neg_log_softmax
dynet/hsm-builder.cc:93
↓ 15 callers
Method
size
examples/noise-contrastive-estimation/sampler.h:42
↓ 15 callers
Method
update
this calls the rule-specific updates over all updated parameters
dynet/training.cc:195
↓ 14 callers
Method
SimpleSGDTrainer
* \brief Constructor * * \param m ParameterCollection to be trained * \param learning_rate Initial learning rate */
dynet/training.h:318
↓ 14 callers
Method
back
dynet/lstm.h:357
↓ 14 callers
Function
pick
dynet/expr.cc:181
↓ 14 callers
Function
vanilla_lstm_c
dynet/expr.cc:293
↓ 14 callers
Function
vanilla_lstm_h
dynet/expr.cc:296
↓ 14 callers
Method
version
(self)
python/dynet_viz.py:221
↓ 13 callers
Function
Tensor
contrib/csharp/dynetsharp/dynetsharp/dynet.h:82
↓ 13 callers
Method
add
dynet/devices.cc:175
↓ 13 callers
Method
as_dummy_string
dynet/dynet.h:547
↓ 13 callers
Function
dropout
dynet/expr.cc:136
↓ 13 callers
Function
ensure_same_dim
(a,b)
python/dynet_viz.py:88
↓ 13 callers
Function
rand01
dynet/tensor.cc:329
↓ 13 callers
Function
read_sentence
dynet/dict.cc:11
↓ 12 callers
Method
build_graph
examples/transformer/transformer.h:877
↓ 12 callers
Function
concatenate_to_batch
dynet/expr.cc:315
↓ 12 callers
Function
dot_product
dynet/expr.cc:156
↓ 12 callers
Method
is_stale
dynet/expr.h:52
↓ 12 callers
Function
layer_norm
dynet/expr.cc:248
↓ 12 callers
Function
parameter
Loads parameter.
contrib/rust/src/expr.rs:236
↓ 12 callers
Function
random_bernoulli
dynet/expr.cc:55
↓ 12 callers
Function
set
(mem="512", random_seed=0, autobatch=0, profiling=0, weight_decay=0, shared_parameters=0, requ
python/dynet_config.py:1
↓ 12 callers
Method
set_dropout
Sets dropout.
contrib/rust/src/rnn_builder.rs:118
↓ 12 callers
Method
size
dynet/sig.h:198
↓ 12 callers
Method
size
(self)
examples/python-utils/util.py:16
↓ 12 callers
Function
sum_elems
dynet/expr.cc:214
↓ 11 callers
Function
abs
dynet/expr.cc:85
↓ 11 callers
Function
cdiv
dynet/expr.cc:77
↓ 11 callers
Function
copy_array_of_c_ptrs_to_vector
contrib/c/dynet_c/internal.h:190
↓ 11 callers
Function
extract_dynet_params
dynet/init.cc:77
↓ 11 callers
Function
logsumexp
dynet/expr.cc:324
↓ 11 callers
Method
malloc
dynet/mem.cc:29
↓ 11 callers
Method
message
(&self)
contrib/rust/src/status.rs:80
↓ 11 callers
Method
set_updated
dynet/model.cc:215
↓ 11 callers
Function
swap
dynet/rnn.h:21
↓ 11 callers
Method
truncate
* \brief remove trailing dimensions of 1 * \details iterate all the dimensions of Dim, stop at last dimension of 1 * \return truncated dimension
dynet/dim.h:125
↓ 11 callers
Function
zeros
dynet/expr.cc:50
↓ 10 callers
Method
add_parameters
(self, dim, scale=0, *args, **kwargs)
python/dynet_viz.py:185
↓ 10 callers
Method
allocate_tensor
dynet/devices.cc:82
↓ 10 callers
Method
argmax
dynet/tensor.cc:545
↓ 10 callers
Function
batch_matrix
* \brief Get the matrix for a particular batch * \details Automatically broadcasting if the size is zero. * * \param bid Batch id requested * \return
dynet/tensor-eigen.h:198
↓ 10 callers
Method
clear
Reset the graph to a newly created state.
contrib/rust/src/graph.rs:32
↓ 10 callers
Method
convert
dynet/dict.h:29
↓ 10 callers
Method
gradient
Returns the gradient of the expression.
contrib/rust/src/expr.rs:56
↓ 10 callers
Method
initialize
examples/sequence-to-sequence/train_attention.cc:37
↓ 10 callers
Function
pow
dynet/expr.cc:132
↓ 10 callers
Method
set_unk
dynet/dict.h:52
↓ 10 callers
Method
size
* \brief Total size of a batch * \return Batch size * size of a batch */
dynet/dim.h:99
↓ 9 callers
Method
add_int
sbdm hash
dynet/sig.h:100
↓ 9 callers
Function
conv2d
dynet/expr.cc:172
↓ 9 callers
Function
dropout_dim
dynet/expr.cc:138
↓ 9 callers
Method
get_score
examples/transformer/ensemble-decoder.h:26
↓ 9 callers
Function
moment_dim
dynet/expr.cc:220
↓ 9 callers
Function
read_sentence_pair
dynet/dict.cc:23
↓ 9 callers
Function
read_trainer_header
dynet/training.cc:60
↓ 9 callers
Function
run
(name: &str, mut configure: F)
contrib/rust/dynet-sys/build.rs:171
↓ 9 callers
Function
std_dim
dynet/expr.cc:222
↓ 9 callers
Function
write_trainer_header
dynet/training.cc:52
↓ 8 callers
Method
ScalarValue
contrib/csharp/dynetsharp/dynetsharp/dynet.cpp:156
↓ 8 callers
Method
add_input
(self, x)
python/dynet_viz.py:631
↓ 8 callers
Method
get_cap
dynet/aligned-mem-pool.cc:88
↓ 8 callers
Method
get_global_device
dynet/devices.cc:180
↓ 8 callers
Method
ndims
Returns the number of dimensions. # Examples ``` # use dynet::Dim; let dim = Dim::from([2, 3, 1, 1, 1, 5]); assert_eq!(dim.ndims(), 6); ```
contrib/rust/src/dim.rs:169
↓ 8 callers
Method
set_dropout_masks
Sets dropout masks at the beginning of a sequence for a specific batch size.
contrib/rust/src/rnn_builder.rs:347
↓ 7 callers
Function
CheckForInitialized
contrib/csharp/dynetsharp/dynetsharp/dynet.h:50
↓ 7 callers
Method
add_input
Adds another timestep by reading in the variable x.
contrib/rust/src/rnn_builder.rs:71
↓ 7 callers
Method
add_inputs
(self, xs)
python/dynet_viz.py:640
↓ 7 callers
Method
apply
examples/transformer/transformer.h:234
↓ 7 callers
Method
backward
Computes backward gradients from the front-most evaluated node.
contrib/rust/src/graph.rs:103
↓ 7 callers
Function
ceil
dynet/expr.cc:112
↓ 7 callers
Method
dim
Returns the dimension of the expression.
contrib/rust/src/expr.rs:30
↓ 7 callers
Function
generate
(in_seq, enc_fwd_lstm, enc_bwd_lstm, dec_lstm)
examples/sequence-to-sequence/attention.py:110
↓ 7 callers
Function
get_arg
dynet/init.cc:68
↓ 7 callers
Function
has_arg
dynet/init.cc:35
↓ 7 callers
Method
load
(self, fname)
python/dynet_viz.py:198
↓ 7 callers
Function
remove_args
dynet/init.cc:53
↓ 7 callers
Method
save
(&self, path: P)
contrib/rust/src/model.rs:90
↓ 7 callers
Function
square
dynet/expr.cc:103
↓ 7 callers
Method
start
dynet/timing.h:35
↓ 7 callers
Method
stop
dynet/timing.h:31
↓ 7 callers
Method
transduce
(self, xs)
python/dynet_viz.py:650
↓ 7 callers
Method
value
(self, recalculate=False)
python/dynet_viz.py:140
↓ 7 callers
Function
vanilla_lstm_gates
dynet/expr.cc:271
↓ 6 callers
Function
MatrixTranspMultiplyAcc
dynet/matrix-multiply.h:97
↓ 6 callers
Function
RNNState
contrib/csharp/dynetsharp/dynetsharp/dynet.h:650
↓ 6 callers
Function
ReverseInt
examples/cpp-utils/data-io.h:12
↓ 6 callers
Method
SetValue
contrib/csharp/dynetsharp/dynetsharp/dynet.cpp:77
↓ 6 callers
Method
VanillaLSTMBuilder
dynet/lstm.cc:317
↓ 6 callers
Function
acosh
dynet/expr.cc:97
↓ 6 callers
Method
arity
* \brief Number of arguments to the function * \return Arity of the function */
dynet/dynet.h:727
↓ 6 callers
Function
asinh
dynet/expr.cc:96
↓ 6 callers
Function
atanh
dynet/expr.cc:98
↓ 6 callers
Function
average
dynet/expr.cc:318
← previous
next →
101–200 of 2,496, ranked by callers