/external/tensorflow/tensorflow/contrib/boosted_trees/lib/utils/ |
random_test.cc | 25 random::SimplePhilox rng(&philox); 32 auto n = PoissonBootstrap(&rng);
|
/external/tensorflow/tensorflow/stream_executor/ |
plugin.cc | 49 PluginConfig& PluginConfig::SetRng(PluginId rng) { 50 rng_ = rng;
|
plugin.h | 51 // described therein will be used to provide BLAS, DNN, FFT, and RNG 75 PluginConfig& SetRng(PluginId rng); 80 PluginId rng() const { return rng_; } function in class:perftools::gputools::PluginConfig
|
/frameworks/ml/nn/runtime/test/specs/V1_0/ |
logistic_quant8_2.mod.py | 32 rng = d0 * d1 * d2 * d3 variable 33 input_values = (lambda r = rng: [x % 256 for x in range(r)])()
|
/frameworks/ml/nn/runtime/test/specs/V1_1/ |
logistic_float_2_relaxed.mod.py | 33 rng = d0 * d1 * d2 * d3 variable 34 input_values = (lambda r = rng: [x * (x % 2 - .5) * 2 % 512 for x in range(r)])()
|
relu1_float_2_relaxed.mod.py | 33 rng = d0 * d1 * d2 * d3 variable 34 input_values = (lambda r = rng: [x * (x % 2 - .5) * .002 for x in range(r)])()
|
relu6_float_2_relaxed.mod.py | 33 rng = d0 * d1 * d2 * d3 variable 34 input_values = (lambda r = rng: [x * (x % 2 - .5) * .002 for x in range(r)])()
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/i386/ |
padlock.d | 9 0:[ ]*0f a7 c0 [ ]*xstore-rng 10 3:[ ]*f3 0f a7 c0 [ ]*repz xstore-rng 19 27:[ ]*0f a7 c0 [ ]*xstore-rng 20 2a:[ ]*f3 0f a7 c0 [ ]*repz xstore-rng
|
/external/tensorflow/tensorflow/core/util/ |
example_proto_fast_parsing_test.cc | 247 string RandStr(random::SimplePhilox* rng) { 252 auto len = 1 + rng->Rand32() % 200; 257 key_char_lookup[rng->Rand32() % (sizeof(key_char_lookup) / 263 void Fuzz(random::SimplePhilox* rng) { 265 auto num_keys = 1 + rng->Rand32() % 100; 268 unique_keys.emplace(RandStr(rng)); 274 auto num_concats = 1 + rng->Rand32() % 4; 280 auto num_active_keys = 1 + rng->Rand32() % all_keys.size(); 284 auto fkey = all_keys[rng->Rand32() % all_keys.size()]; 285 auto ftype_idx = rng->Rand32() % feat_types.size() [all...] |
/art/tools/dexfuzz/src/dexfuzz/program/ |
Program.java | 81 * The RNG used during mutation. 83 private Random rng; field in class:Program 86 * The seed that was given to the RNG. 159 // Set up the RNG. 160 rng = new Random(); 162 rng.setSeed(Options.rngSeed); 167 rng.setSeed(seed); 198 registerMutator(new ArithOpChanger(rng, mutationStats, mutations)); 199 registerMutator(new BranchShifter(rng, mutationStats, mutations)); 200 registerMutator(new CmpBiasChanger(rng, mutationStats, mutations)) [all...] |
/external/libcxx/test/std/containers/sequences/deque/deque.modifiers/ |
insert_size_value.pass.cpp | 139 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local 140 const int N = sizeof(rng)/sizeof(rng[0]); 144 testN<std::deque<int> >(rng[i], rng[j], rng[k]); 149 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local 150 const int N = sizeof(rng)/sizeof(rng[0]); 154 testN<std::deque<int, min_allocator<int>> >(rng[i], rng[j], rng[k]) [all...] |
/external/libopus/celt/ |
entdec.c | 100 /*Normalizes the contents of val and rng so that rng lies entirely in the 104 while(_this->rng<=EC_CODE_BOT){ 107 _this->rng<<=EC_SYM_BITS; 131 _this->rng=1U<<EC_CODE_EXTRA; 133 _this->val=_this->rng-1-(_this->rem>>(EC_SYM_BITS-EC_CODE_EXTRA)); 141 _this->ext=celt_udiv(_this->rng,_ft); 148 _this->ext=_this->rng>>_bits; 157 _this->rng=_fl>0?IMUL32(_this->ext,_fh-_fl):_this->rng-s [all...] |
/external/tensorflow/tensorflow/contrib/kfac/examples/ |
mnist.py | 53 rng = np.random.RandomState(42) 55 images = rng.rand(num_examples, 28 * 28) 58 labels = rng.randint(10, size=num_examples)
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/sequences/deque/deque.modifiers/ |
insert_size_value.pass.cpp | 139 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local 140 const int N = sizeof(rng)/sizeof(rng[0]); 144 testN<std::deque<int> >(rng[i], rng[j], rng[k]); 149 int rng[] = {0, 1, 2, 3, 1023, 1024, 1025, 2047, 2048, 2049}; local 150 const int N = sizeof(rng)/sizeof(rng[0]); 154 testN<std::deque<int, min_allocator<int>> >(rng[i], rng[j], rng[k]) [all...] |
/libcore/ojluni/src/main/java/java/util/ |
Random.java | 999 final Random rng; field in class:Random.RandomIntsSpliterator 1054 final Random rng; field in class:Random.RandomLongsSpliterator 1110 final Random rng; field in class:Random.RandomDoublesSpliterator [all...] |
SplittableRandom.java | 832 final SplittableRandom rng; field in class:SplittableRandom.RandomIntsSpliterator 888 final SplittableRandom rng; field in class:SplittableRandom.RandomLongsSpliterator 945 final SplittableRandom rng; field in class:SplittableRandom.RandomDoublesSpliterator [all...] |
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/ |
sinh_arcsinh_test.py | 28 rng = np.random.RandomState(123) variable 35 scale = rng.rand(b) + 0.5 36 loc = rng.randn(b) 47 x = rng.randn(5, b) 72 feed_dict={loc: rng.rand(5), 73 scale: np.float64(rng.rand()), # Scalar 74 skewness: rng.rand(5)}) 79 scale = rng.rand(b) + 0.5 80 loc = rng.randn(b) 92 x = rng.randn(5, b [all...] |
vector_sinh_arcsinh_diag_test.py | 27 rng = np.random.RandomState(123) variable 35 scale_diag = rng.rand(d) 37 loc = rng.randn(d) 50 x = rng.randn(5, d) 65 scale_diag = rng.rand(d) 67 loc = rng.randn(d) 81 x = rng.randn(5, d) 96 scale_diag = rng.rand(d) 98 loc = rng.randn(d) 141 scale_diag = rng.rand(d [all...] |
mvn_full_covariance_test.py | 31 rng = np.random.RandomState(42) variable 37 mat = rng.rand(*shape) 59 mu = rng.rand(10) 67 mu = rng.rand(2) 70 x = rng.rand(2) 86 mu = rng.rand(2) 89 x = rng.rand(2) 106 mu = rng.rand(3, 5, 2) 123 mat = rng.randn(*mat_shape) 129 mu = rng.randn(*mu_shape [all...] |
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/testutil/ |
batch_features_testutil.cc | 27 tensorflow::random::SimplePhilox* rng, uint32 num_dense_float_features, 37 values.push_back(rng->RandFloat()); 51 sparsity_lo + rng->RandDouble() * (sparsity_hi - sparsity_lo); 54 indices.insert(rng->Uniform64(batch_size)); 68 values.push_back(rng->RandFloat());
|
/art/tools/dexfuzz/src/dexfuzz/program/mutators/ |
InstructionDeleter.java | 59 public InstructionDeleter(Random rng, MutationStats stats, List<Mutation> mutations) { 60 super(rng, stats, mutations); 78 int insnIdx = rng.nextInt(mutatableCode.getInstructionCount());
|
InstructionDuplicator.java | 59 public InstructionDuplicator(Random rng, MutationStats stats, List<Mutation> mutations) { 60 super(rng, stats, mutations); 71 insnIdx = rng.nextInt(mutatableCode.getInstructionCount());
|
RegisterClobber.java | 62 public RegisterClobber(Random rng, MutationStats stats, List<Mutation> mutations) { 63 super(rng, stats, mutations); 74 int insertionIdx = rng.nextInt(mutatableCode.getInstructionCount());
|
BranchShifter.java | 65 public BranchShifter(Random rng, MutationStats stats, List<Mutation> mutations) { 66 super(rng, stats, mutations); 111 int branchInsnIdx = rng.nextInt(branchInsns.size()); 127 delta = (rng.nextInt(5) - 2);
|
/external/deqp/modules/gles31/functional/ |
es31fUniformLocationTests.cpp | 163 de::Random rng (seed); 170 rng.shuffle(retval.begin(), retval.end()); 749 de::Random rng (baseSeed + 0x1001); 766 rng.getInt(0, maxLocations-1)); 777 de::Random rng (baseSeed + 0x2001); 795 rng.getInt(0, maxLocations-1-8)); 806 de::Random rng (baseSeed + 0x3001); 825 rng.getInt(0, maxLocations-1-arraySize*arraySize)); 836 de::Random rng (baseSeed + 0x4001); 845 const Stage layoutLoc = Stage(rng.getUint32()&0x3) [all...] |