Home
last modified time | relevance | path

Searched refs:kResultElementCount (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/core/lib/random/
Drandom_distributions.h73 static constexpr int kResultElementCount = Generator::kResultElementCount;
79 typedef Array<Eigen::half, kResultElementCount> ResultType;
86 for (int i = 0; i < kResultElementCount; ++i) { in operator()
97 static constexpr int kResultElementCount = Generator::kResultElementCount;
103 typedef Array<bfloat16, kResultElementCount> ResultType;
110 for (int i = 0; i < kResultElementCount; ++i) { in operator()
121 static constexpr int kResultElementCount = Generator::kResultElementCount;
127 typedef Array<float, kResultElementCount> ResultType;
134 for (int i = 0; i < kResultElementCount; ++i) { in operator()
145 static constexpr int kResultElementCount = Generator::kResultElementCount / 2;
[all …]
Dphilox_random_test.cc38 static constexpr int kResultElementCount = PhiloxRandom::kResultElementCount; member in tensorflow::random::__anon997242510111::TrivialPhiloxDistribution
Dphilox_random_test_utils.h36 const int granularity = Distribution::kResultElementCount; in FillRandoms()
Drandom_distributions_test.cc50 int granularity = Distribution::kResultElementCount; in FillRandomsWithSingles()
310 static constexpr int kResultElementCount = 1; member in tensorflow::random::__anonf269a2300111::MockGenerator
Dphilox_random.h108 static constexpr int kResultElementCount = 4; variable
/external/tensorflow/tensorflow/core/kernels/
Drandom_op_cpu.h86 const int kGroupSize = Distribution::kResultElementCount;
117 const int kGroupSize = Distribution::kResultElementCount;
121 PhiloxRandom::kResultElementCount;
163 const int kGroupSize = Distribution::kResultElementCount;
170 random::PhiloxRandom::kResultElementCount *
Dparameterized_truncated_normal_op_gpu.cu.cc69 const int kDistSize = Uniform::kResultElementCount; in TruncatedNormalKernel()
140 remaining_samples -= gen.kResultElementCount; in TruncatedNormalKernel()
170 remaining_samples -= gen.kResultElementCount; in TruncatedNormalKernel()
179 remaining_samples -= gen.kResultElementCount; in TruncatedNormalKernel()
206 remaining_samples -= gen.kResultElementCount; in TruncatedNormalKernel()
Drandom_op_gpu.h144 const int kGroupSize = Distribution::kResultElementCount;
183 const int kGroupSize = Distribution::kResultElementCount;
186 PhiloxRandom::kResultElementCount;
Dstateless_random_gamma_op.h64 remaining_numbers_ = Distribution::kResultElementCount; in operator()
Dparameterized_truncated_normal_op.cc351 Uniform::kResultElementCount - 1) / in operator ()()
352 Uniform::kResultElementCount); in operator ()()
356 Eigen::array<T, Uniform::kResultElementCount> z; in operator ()()
357 Eigen::array<T, Uniform::kResultElementCount> g; in operator ()()
Dstateless_random_gamma_op_gpu.cu.cc77 double u = uniform(&gen)[Uniform::kResultElementCount - 1]; in FillKernel()
Drandom_op.cc182 uniform_remaining = Uniform::kResultElementCount; \ in Compute()
275 norm_remaining = Normal::kResultElementCount; in Compute()
Dstateful_random_ops_gpu.cu.cc83 const int kGroupSize = Distribution::kResultElementCount; in operator ()()
Dstateless_random_gamma_op.cc106 double u = uniform(&gen)[Uniform::kResultElementCount - 1]; in Fill()
Drandom_poisson_op.cc49 uniform_remaining = Uniform::kResultElementCount; \
Drandom_binomial_op.cc49 uniform_remaining = Uniform::kResultElementCount; \
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dresolve_constant_random_uniform.cc50 size_t num_samples = Distribution::kResultElementCount; in ComputeRandomUniformArray()
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dlegalize_tf.cc182 size_t num_samples = Distribution::kResultElementCount; in matchAndRewrite()