MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / RandomString

Function RandomString

tensorflow/core/lib/strings/ordered_code_test.cc:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33namespace {
34
35string RandomString(random::SimplePhilox* rnd, size_t len) {
36 string x;
37 for (size_t i = 0; i < len; i++) {
38 x += rnd->Uniform(256);
39 }
40 return x;
41}
42
43// ---------------------------------------------------------------------
44// Utility template functions (they help templatize the tests below)

Callers 1

TESTFunction · 0.70

Calls 1

UniformMethod · 0.80

Tested by

no test coverage detected