MCPcopy Create free account
hub / github.com/MhLiao/TextBoxes_plusplus / CheckCaffeRandom

Function CheckCaffeRandom

scripts/cpp_lint.py:1644–1667  ·  view source on GitHub ↗

Checks for calls to C random functions (rand, rand_r, random, ...). Caffe code should (almost) always use the caffe_rng_* functions rather than these, as the internal state of these C functions is independent of the native Caffe RNG system which should produce deterministic results for a fi

(filename, clean_lines, linenum, error)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ProcessLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected