/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 | 90 seed1, seed2 = random_seed.get_seed(seed) 92 shape_tensor, dtype, seed=seed1, seed2=seed2) 143 seed1, seed2 = random_seed.get_seed(seed) 151 seed2=seed2) 191 seed1, seed2 = random_seed.get_seed(seed) 193 shape_tensor, dtype, seed=seed1, seed2=seed2) 290 seed1, seed2 = random_seed.get_seed(seed) 293 shape, minval, maxval, seed=seed1, seed2=seed2, name=name) 296 shape, dtype, seed=seed1, seed2=seed2) 340 seed1, seed2 = random_seed.get_seed(seed) [all …]
|
D | stateful_random_ops_test.py | 379 seed1, seed2 = 79, 25 383 gen = random.Generator(state=[0, seed2, seed1], 390 return old(dtype, seed1, seed2) 405 def old_normal(dtype, seed1, seed2): argument 407 shape, dtype=dtype, seed=seed1, seed2=seed2) 410 def old_truncated_normal(dtype, seed1, seed2): argument 412 shape, dtype=dtype, seed=seed1, seed2=seed2) 415 def old_uniform_int(dtype, seed1, seed2): argument 419 shape, minval=minval2, maxval=maxval2, seed=seed1, seed2=seed2) 422 def old_uniform(dtype, seed1, seed2): argument [all …]
|
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_v2( 54 math_ops.equal(seed, 0), math_ops.equal(seed2, 0)), 56 seed2, 58 return seed, seed2
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | random_seed_ops.cc | 38 void RandomSeedGenerator::GenerateRandomSeeds(int64* seed1, int64* seed2) { in GenerateRandomSeeds() argument 43 *seed2 = generator_(); in GenerateRandomSeeds() 74 Tensor* seed2; in Serialize() local 75 OP_REQUIRES_OK(ctx, ctx->allocate_output(kSeed2, TensorShape({}), &seed2)); in Serialize() 76 seed2->scalar<int64>()() = seed2_; in Serialize() 86 int64 seed2; in Compute() local 87 OP_REQUIRES_OK(ctx, ParseScalarArgument<int64>(ctx, kSeed2, &seed2)); in Compute() 88 if (seed == 0 && seed2 == 0) { in Compute() 90 seed2 = random::New64(); in Compute() 93 seed2_ = seed2; in Compute()
|
D | shuffle_dataset_op.cc | 76 Seeds(int64 seed, int64 seed2) { in Seeds() argument 78 input_seed2_ = seed2; in Seeds() 80 seed2_ = seed2; in Seeds() 83 if (seed == 0 && seed2 == 0) { in Seeds() 139 DatasetGraphDefBuilder* b, Node** seed, Node** seed2) const { in AddSeeds() 144 TF_RETURN_IF_ERROR(b->AddScalar(seed2_to_add, seed2)); in AddSeeds() 152 int64 seed, int64 seed2) in Iterator() argument 155 seed2_(seed2), in Iterator() 159 parent_generator_(seed, seed2), in Iterator() 471 Iterator(const Params& params, int64 seed, int64 seed2) in Iterator() argument [all …]
|
D | random_seed_ops.h | 31 RandomSeedGenerator(int64 seed, int64 seed2) in RandomSeedGenerator() argument 33 seed2_(seed2), in RandomSeedGenerator() 34 parent_generator_(seed, seed2), in RandomSeedGenerator() 41 void GenerateRandomSeeds(int64* seed1, int64* seed2);
|
/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 | sampling_dataset_op.cc | 42 Dataset(OpKernelContext* ctx, float rate, int64 seed, int64 seed2, in Dataset() argument 47 seed2_(seed2), in Dataset() 85 Node* seed2 = nullptr; in AsGraphDefInternal() local 88 TF_RETURN_IF_ERROR(b->AddScalar(seed2_, &seed2)); in AsGraphDefInternal() 90 b->AddDataset(this, {input_graph_node, rate, seed, seed2}, output)); in AsGraphDefInternal() 97 explicit Iterator(const Params& params, int64 seed, int64 seed2) in Iterator() argument 100 seed2_(seed2), in Iterator() 101 parent_generator_(seed, seed2), in Iterator() 221 int64 seed2; in MakeDataset() local 224 OP_REQUIRES_OK(ctx, ParseScalarArgument<int64>(ctx, kSeed2, &seed2)); in MakeDataset() [all …]
|
D | random_dataset_op.cc | 39 Dataset(OpKernelContext* ctx, int64 seed, int64 seed2) in Dataset() argument 40 : DatasetBase(DatasetContext(ctx)), seed_(seed), seed2_(seed2) {} in Dataset() 71 Node* seed2 = nullptr; in AsGraphDefInternal() local 73 TF_RETURN_IF_ERROR(b->AddScalar(seed2_, &seed2)); in AsGraphDefInternal() 74 TF_RETURN_IF_ERROR(b->AddDataset(this, {seed, seed2}, output)); in AsGraphDefInternal() 148 int64 seed2; in MakeDataset() local 149 OP_REQUIRES_OK(ctx, ParseScalarArgument<int64>(ctx, "seed2", &seed2)); in MakeDataset() 153 if (seed == 0 && seed2 == 0) { in MakeDataset() 155 seed2 = random::New64(); in MakeDataset() 158 *output = new Dataset(ctx, seed, seed2); in MakeDataset()
|
D | random_dataset_op_test.cc | 33 std::vector<Tensor> GenerateExpectedData(int64 seed, int64 seed2, int count) { in GenerateExpectedData() argument 35 auto parent_generator = random::PhiloxRandom(seed, seed2); in GenerateExpectedData() 47 RandomDatasetParams(int64 seed, int64 seed2, DataTypeVector output_dtypes, in RandomDatasetParams() argument 53 seed2_(CreateTensor<int64>(TensorShape({}), {seed2})) {}
|
/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/grappler/optimizers/data/ |
D | filter_with_random_uniform_fusion.cc | 37 int64 seed2, MutableGraphView* graph) { in MakeFusedNode() argument 64 NodeDef* tmp_seed2 = graph_utils::AddScalarConstNode<int64>(seed2, graph); in MakeFusedNode() 136 int64 seed, seed2; in OptimizeAndCollectStats() local 233 seed2 = random_uniform_node->attr().at("seed2").i(); in OptimizeAndCollectStats() 251 graph.AddNode(MakeFusedNode(filter_node, rate, seed, seed2, &graph)); in OptimizeAndCollectStats()
|
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/ |
D | ShuffleDataset.pbtxt | 16 name: "seed2" 52 name: "seed2" 87 name: "seed2"
|
D | Multinomial.pbtxt | 23 name: "seed2" 70 name: "seed2" 119 name: "seed2" 182 name: "seed2"
|
D | TruncatedNormal.pbtxt | 19 name: "seed2" 66 name: "seed2"
|
D | RandomUniform.pbtxt | 19 name: "seed2" 66 name: "seed2"
|
D | RandomStandardNormal.pbtxt | 19 name: "seed2" 66 name: "seed2"
|
/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_SamplingDataset.pbtxt | 18 name: "seed2" 20 A scalar representing seed2 of random number generator.
|
/external/swiftshader/third_party/astc-encoder/Source/ |
D | astc_partition_tables.cpp | 140 uint8_t seed2 = (rnum >> 4) & 0xF; in select_partition() local 155 seed2 *= seed2; in select_partition() 181 seed2 >>= sh2; in select_partition() 194 int a = seed1 * x + seed2 * y + seed11 * z + (rnum >> 14); in select_partition()
|