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

Function exp

dlib/cuda/tensor_tools.cpp:188–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186// ----------------------------------------------------------------------------------------
187
188 void exp (
189 tensor& dest,
190 const tensor& src
191 )
192 {
193 DLIB_CASSERT(dest.size() == src.size());
194
195 IF_DLIB_USE_CUDA(
196 cuda::exp(dest,src);
197 )
198
199 IF_DLIB_NOT_USE_CUDA(
200 dest = exp(mat(src));
201 )
202 }
203
204// ----------------------------------------------------------------------------------------
205

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