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

Function log

dlib/cuda/tensor_tools.cpp:172–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170// ----------------------------------------------------------------------------------------
171
172 void log (
173 tensor& dest,
174 const tensor& src
175 )
176 {
177 DLIB_CASSERT(dest.size() == src.size());
178
179#ifdef DLIB_USE_CUDA
180 cuda::log(dest,src);
181#else
182 dest = log(mat(src));
183#endif
184 }
185
186// ----------------------------------------------------------------------------------------
187

Callers 15

find_max_globalFunction · 0.85
test_basic_tensor_opsFunction · 0.85
user_defined_rulesetFunction · 0.85
do_testFunction · 0.85
image_to_tiled_pyramidFunction · 0.85
operator()Method · 0.85
safe_logFunction · 0.85

Calls 2

matFunction · 0.70
sizeMethod · 0.45

Tested by 3

test_basic_tensor_opsFunction · 0.68
user_defined_rulesetFunction · 0.68
do_testFunction · 0.68