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

Method tensor_rand

dlib/cuda/tensor_tools.cpp:351–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349// ----------------------------------------------------------------------------------------
350
351 tensor_rand::
352 tensor_rand(
353 unsigned long long seed
354 )
355#ifdef DLIB_USE_CUDA
356 :cuda_impl(seed)
357#endif
358 {cpu_impl.set_seed(cast_to_string(seed)); }
359
360 void tensor_rand::
361 fill_gaussian (

Callers

nothing calls this directly

Calls 2

cast_to_stringFunction · 0.85
set_seedMethod · 0.45

Tested by

no test coverage detected