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

Function log

dlib/cuda/tensor_tools.cpp:206–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204// ----------------------------------------------------------------------------------------
205
206 void log (
207 tensor& dest,
208 const tensor& src
209 )
210 {
211 DLIB_CASSERT(dest.size() == src.size());
212
213 IF_DLIB_USE_CUDA(
214 cuda::log(dest,src);
215 )
216
217 IF_DLIB_NOT_USE_CUDA(
218 dest = log(mat(src));
219 )
220 }
221
222// ----------------------------------------------------------------------------------------
223

Callers 15

trainMethod · 0.85
operator()Method · 0.85
find_max_globalFunction · 0.85
test_basic_tensor_opsFunction · 0.85
user_defined_rulesetFunction · 0.85
do_testFunction · 0.85
test_defaultsFunction · 0.85
test_weighting_optionsFunction · 0.85
image_to_tiled_pyramidFunction · 0.85

Calls 2

matFunction · 0.70
sizeMethod · 0.45

Tested by 5

test_basic_tensor_opsFunction · 0.68
user_defined_rulesetFunction · 0.68
do_testFunction · 0.68
test_defaultsFunction · 0.68
test_weighting_optionsFunction · 0.68