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

Function log10

dlib/cuda/tensor_tools.cpp:224–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222// ----------------------------------------------------------------------------------------
223
224 void log10 (
225 tensor& dest,
226 const tensor& src
227 )
228 {
229 DLIB_CASSERT(dest.size() == src.size());
230
231 IF_DLIB_USE_CUDA(
232 cuda::log10(dest,src);
233 )
234
235 IF_DLIB_NOT_USE_CUDA(
236 dest = log10(mat(src));
237 )
238 }
239
240// ----------------------------------------------------------------------------------------
241

Callers 4

test_basic_tensor_opsFunction · 0.85
gg18Method · 0.85
psnrFunction · 0.85
zero_pad_part_namesFunction · 0.85

Calls 2

matFunction · 0.70
sizeMethod · 0.45

Tested by 3

test_basic_tensor_opsFunction · 0.68
gg18Method · 0.68
psnrFunction · 0.68