/external/tensorflow/tensorflow/python/ops/ |
D | candidate_sampling_ops.py | 83 seed1, seed2 = random_seed.get_seed(seed) 86 seed2=seed2, name=name) 148 seed1, seed2 = random_seed.get_seed(seed) 151 seed2=seed2, name=name) 208 seed1, seed2 = random_seed.get_seed(seed) 211 seed2=seed2, name=name) 299 seed1, seed2 = random_seed.get_seed(seed) 304 unigrams=unigrams, seed=seed1, seed2=seed2, name=name) 337 seed1, seed2 = random_seed.get_seed(seed) 339 true_classes, num_true, num_sampled, unique, seed=seed1, seed2=seed2, [all …]
|
D | random_ops.py | 77 seed1, seed2 = random_seed.get_seed(seed) 79 shape_tensor, dtype, seed=seed1, seed2=seed2) 129 seed1, seed2 = random_seed.get_seed(seed) 137 seed2=seed2) 176 seed1, seed2 = random_seed.get_seed(seed) 178 shape_tensor, dtype, seed=seed1, seed2=seed2) 242 seed1, seed2 = random_seed.get_seed(seed) 245 shape, minval, maxval, seed=seed1, seed2=seed2, name=name) 247 rnd = gen_random_ops.random_uniform(shape, dtype, seed=seed1, seed2=seed2) 281 seed1, seed2 = random_seed.get_seed(seed) [all …]
|
D | stateful_random_ops_test.py | 198 seed1, seed2 = 79, 25 202 random.reset_global_generator([0, seed2, seed1]) 211 shape, dtype=dtype, seed=seed1, seed2=seed2) 227 seed1, seed2 = 79, 25 229 random.reset_global_generator([0, seed2, seed1]) 237 shape, dtype=dtype, seed=seed1, seed2=seed2)
|
D | cudnn_rnn_grad.py | 44 seed2=op.get_attr("seed2"), 70 seed2=op.get_attr("seed2"), 99 seed2=op.get_attr("seed2"),
|
/external/tensorflow/tensorflow/python/data/util/ |
D | random_seed.py | 42 seed, seed2 = random_seed.get_seed(seed) 47 if seed2 is None: 48 seed2 = constant_op.constant(0, dtype=dtypes.int64, name="seed2") 51 seed2 = ops.convert_to_tensor(seed2, dtype=dtypes.int64) 52 seed2 = array_ops.where( 54 math_ops.equal(seed, 0), math_ops.equal(seed2, 0)), 56 seed2, 58 return seed, seed2
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | shuffle_dataset_op.cc | 73 int64 seed, int64 seed2) in Iterator() argument 76 seed2_(seed2), in Iterator() 80 parent_generator_(seed, seed2), in Iterator() 365 int64 seed2; in MakeDataset() local 366 OP_REQUIRES_OK(ctx, ParseScalarArgument<int64>(ctx, "seed2", &seed2)); in MakeDataset() 370 if (seed == 0 && seed2 == 0) { in MakeDataset() 372 seed2 = random::New64(); in MakeDataset() 378 new ReshufflingDataset(ctx, input, buffer_size, seed, seed2, count); in MakeDataset() 381 new FixedSeedDataset(ctx, input, buffer_size, seed, seed2, count); in MakeDataset() 391 int64 buffer_size, int64 seed, int64 seed2, int64 count) in ReshufflingDataset() argument [all …]
|
/external/tensorflow/tensorflow/core/util/ |
D | guarded_philox_random.cc | 23 int64 seed, seed2; in Init() local 26 status = context->GetAttr("seed2", &seed2); in Init() 30 Init(seed, seed2); in Init() 34 void GuardedPhiloxRandom::Init(int64 seed, int64 seed2) { in Init() argument 36 if (seed == 0 && seed2 == 0) { in Init() 39 seed2 = random::New64(); in Init() 42 generator_ = random::PhiloxRandom(seed, seed2); in Init()
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | random_dataset_op.cc | 38 int64 seed2; in MakeDataset() local 39 OP_REQUIRES_OK(ctx, ParseScalarArgument<int64>(ctx, "seed2", &seed2)); in MakeDataset() 43 if (seed == 0 && seed2 == 0) { in MakeDataset() 45 seed2 = random::New64(); in MakeDataset() 48 *output = new Dataset(ctx, seed, seed2); in MakeDataset() 54 Dataset(OpKernelContext* ctx, int64 seed, int64 seed2) in Dataset() argument 55 : DatasetBase(DatasetContext(ctx)), seed_(seed), seed2_(seed2) {} in Dataset() 86 Node* seed2 = nullptr; in AsGraphDefInternal() local 88 TF_RETURN_IF_ERROR(b->AddScalar(seed2_, &seed2)); in AsGraphDefInternal() 89 TF_RETURN_IF_ERROR(b->AddDataset(this, {seed, seed2}, output)); in AsGraphDefInternal()
|
/external/boringssl/src/crypto/fipsmodule/tls/ |
D | kdf.c | 72 const uint8_t *seed2, size_t seed2_len) { in tls1_P_hash() argument 87 !HMAC_Update(&ctx, seed2, seed2_len) || in tls1_P_hash() 101 !HMAC_Update(&ctx, seed2, seed2_len) || in tls1_P_hash() 142 const uint8_t *seed2, size_t seed2_len) { in CRYPTO_tls1_prf() argument 153 label_len, seed1, seed1_len, seed2, seed2_len)) { in CRYPTO_tls1_prf() 164 seed1, seed1_len, seed2, seed2_len); in CRYPTO_tls1_prf()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | random_shuffle_queue_op.cc | 45 int64 seed2, const DataTypeVector& component_dtypes, 90 int32 capacity, int32 min_after_dequeue, int64 seed, int64 seed2, in RandomShuffleQueue() argument 96 original_seed2_(seed2), in RandomShuffleQueue() 98 if (seed == 0 && seed2 == 0) { in RandomShuffleQueue() 101 seed2 = random::New64(); in RandomShuffleQueue() 103 parent_generator_ = random::PhiloxRandom(seed, seed2); in RandomShuffleQueue() 454 int64 seed2 = -1; in MatchesNodeDef() local 456 TF_RETURN_IF_ERROR(GetNodeAttr(node_def, "seed2", &seed2)); in MatchesNodeDef() 457 if ((seed != 0 || seed2 != 0) && in MatchesNodeDef() 458 (seed != original_seed_ || seed2 != original_seed2_)) { in MatchesNodeDef() [all …]
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_ShuffleDataset.pbtxt | 16 `seed2` is set to be non-zero, the random number generator is seeded 21 name: "seed2" 31 `seed` and `seed2` inputs. If false, each iterator will be given the same
|
D | api_def_ExperimentalRandomDataset.pbtxt | 8 seed2 is set to be non-zero, the random number generator is seeded 13 name: "seed2"
|
D | api_def_RandomStandardNormal.pbtxt | 21 If either `seed` or `seed2` are set to be non-zero, the random number 27 name: "seed2"
|
D | api_def_RandomUniform.pbtxt | 18 If either `seed` or `seed2` are set to be non-zero, the random number 24 name: "seed2"
|
D | api_def_Multinomial.pbtxt | 26 If either seed or seed2 is set to be non-zero, the internal random number 31 name: "seed2"
|
D | api_def_RandomShuffle.pbtxt | 19 If either `seed` or `seed2` are set to be non-zero, the random number 25 name: "seed2"
|
D | api_def_TruncatedNormal.pbtxt | 19 If either `seed` or `seed2` are set to be non-zero, the random number 25 name: "seed2"
|
D | api_def_ShuffleAndRepeatDataset.pbtxt | 16 `seed2` is set to be non-zero, the random number generator is seeded 21 name: "seed2"
|
D | api_def_RandomCrop.pbtxt | 24 If either seed or seed2 are set to be non-zero, the random number 30 name: "seed2"
|
D | api_def_RandomGamma.pbtxt | 28 If either `seed` or `seed2` are set to be non-zero, the random number 34 name: "seed2"
|
D | api_def_RandomUniformInt.pbtxt | 30 If either `seed` or `seed2` are set to be non-zero, the random number 36 name: "seed2"
|
D | api_def_RandomPoissonV2.pbtxt | 28 If either `seed` or `seed2` are set to be non-zero, the random number 34 name: "seed2"
|
/external/tensorflow/tensorflow/contrib/cudnn_rnn/python/ops/ |
D | cudnn_rnn_ops.py | 913 seed, seed2 = random_seed.get_seed(seed) 914 if seed is None and seed2 is None: 915 seed, seed2 = 0, 0 916 return seed, seed2 1008 seed, seed2 = random_seed.get_seed(seed) 1023 "seed2": seed2, 1359 seed, seed2 = random_seed.get_seed(seed) 1370 seed2=seed2, 1420 seed, seed2 = random_seed.get_seed(seed) 1432 seed2=seed2, [all …]
|
/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
D | resolve_constant_random_uniform.cc | 45 tensorflow::random::PhiloxRandom generator(op->seed, op->seed2); in ComputeRandomUniformArray() 87 if ((op->seed == 0) && (op->seed2 == 0)) { in Run()
|
/external/tensorflow/tensorflow/contrib/text/python/ops/ |
D | skip_gram_ops.py | 178 seed1, seed2 = random_seed.get_seed(seed) 189 seed2=seed2)
|