Home
last modified time | relevance | path

Searched refs:seed2 (Results 1 – 25 of 82) sorted by relevance

1234

/external/tensorflow/tensorflow/python/ops/
Dcandidate_sampling_ops.py83 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 …]
Drandom_ops.py77 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 …]
Dstateful_random_ops_test.py198 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)
Dcudnn_rnn_grad.py44 seed2=op.get_attr("seed2"),
70 seed2=op.get_attr("seed2"),
99 seed2=op.get_attr("seed2"),
/external/tensorflow/tensorflow/python/data/util/
Drandom_seed.py42 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/
Dshuffle_dataset_op.cc73 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/
Dguarded_philox_random.cc23 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/
Drandom_dataset_op.cc38 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/
Dkdf.c72 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/
Drandom_shuffle_queue_op.cc45 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/
Dapi_def_ShuffleDataset.pbtxt16 `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
Dapi_def_ExperimentalRandomDataset.pbtxt8 seed2 is set to be non-zero, the random number generator is seeded
13 name: "seed2"
Dapi_def_RandomStandardNormal.pbtxt21 If either `seed` or `seed2` are set to be non-zero, the random number
27 name: "seed2"
Dapi_def_RandomUniform.pbtxt18 If either `seed` or `seed2` are set to be non-zero, the random number
24 name: "seed2"
Dapi_def_Multinomial.pbtxt26 If either seed or seed2 is set to be non-zero, the internal random number
31 name: "seed2"
Dapi_def_RandomShuffle.pbtxt19 If either `seed` or `seed2` are set to be non-zero, the random number
25 name: "seed2"
Dapi_def_TruncatedNormal.pbtxt19 If either `seed` or `seed2` are set to be non-zero, the random number
25 name: "seed2"
Dapi_def_ShuffleAndRepeatDataset.pbtxt16 `seed2` is set to be non-zero, the random number generator is seeded
21 name: "seed2"
Dapi_def_RandomCrop.pbtxt24 If either seed or seed2 are set to be non-zero, the random number
30 name: "seed2"
Dapi_def_RandomGamma.pbtxt28 If either `seed` or `seed2` are set to be non-zero, the random number
34 name: "seed2"
Dapi_def_RandomUniformInt.pbtxt30 If either `seed` or `seed2` are set to be non-zero, the random number
36 name: "seed2"
Dapi_def_RandomPoissonV2.pbtxt28 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/
Dcudnn_rnn_ops.py913 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/
Dresolve_constant_random_uniform.cc45 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/
Dskip_gram_ops.py178 seed1, seed2 = random_seed.get_seed(seed)
189 seed2=seed2)

1234