MCPcopy Create free account
hub / github.com/TheLegendAli/DeepLab-Context / CheckCaffeRandom

Function CheckCaffeRandom

scripts/cpp_lint.py:1640–1663  ·  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 1

findMethod · 0.45

Tested by

no test coverage detected