MCPcopy Create free account
hub / github.com/davisking/dlib / exp

Function exp

dlib/cuda/tensor_tools.cpp:156–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154// ----------------------------------------------------------------------------------------
155
156 void exp (
157 tensor& dest,
158 const tensor& src
159 )
160 {
161 DLIB_CASSERT(dest.size() == src.size());
162
163#ifdef DLIB_USE_CUDA
164 cuda::exp(dest,src);
165#else
166 dest = exp(mat(src));
167#endif
168 }
169
170// ----------------------------------------------------------------------------------------
171

Callers 15

holder_tableFunction · 0.85
holder_tableFunction · 0.85
find_max_globalFunction · 0.85
operator()Method · 0.85
matMethod · 0.85
apply_gate_toMethod · 0.85
test_softmaxmFunction · 0.85
test_basic_tensor_opsFunction · 0.85
complex_holder_tableFunction · 0.85
matrix_testFunction · 0.85
matrix_test2Function · 0.85
brown_residualFunction · 0.85

Calls 2

matFunction · 0.70
sizeMethod · 0.45

Tested by 9

holder_tableFunction · 0.68
test_softmaxmFunction · 0.68
test_basic_tensor_opsFunction · 0.68
complex_holder_tableFunction · 0.68
matrix_testFunction · 0.68
matrix_test2Function · 0.68
brown_residualFunction · 0.68
brown_derivativeFunction · 0.68
brown_hessianFunction · 0.68