/external/tensorflow/tensorflow/python/keras/utils/ |
D | kernelized_utils_test.py | 30 def _exact_gaussian(stddev): argument 32 kernelized_utils.exact_gaussian_kernel, stddev=stddev) 35 def _exact_laplacian(stddev): argument 37 kernelized_utils.exact_laplacian_kernel, stddev=stddev) 43 ('gaussian', _exact_gaussian(stddev=10.0), [[1.0]]), 44 ('laplacian', _exact_laplacian(stddev=50.0), [[1.0]])) 57 ('gaussian', _exact_gaussian(stddev=10.0), [[1.0]]), 58 ('laplacian', _exact_laplacian(stddev=50.0), [[1.0]])) 71 ('gaussian', _exact_gaussian(stddev=1.0), [[0.99], [0.977]]), 72 ('laplacian', _exact_laplacian(stddev=5.0), [[0.96], [0.94]])) [all …]
|
D | kernelized_utils.py | 60 def exact_gaussian_kernel(x, y, stddev): argument 87 return math_ops.exp(-diff_squared_l2_norm / (2 * stddev * stddev)) 90 def exact_laplacian_kernel(x, y, stddev): argument 117 return math_ops.exp(-diff_l1_norm / stddev)
|
/external/tensorflow/tensorflow/contrib/kernel_methods/python/mappers/ |
D | random_fourier_features_test.py | 49 def _compute_exact_rbf_kernel(x, y, stddev): argument 53 return math_ops.exp(-diff_squared_norm / (2 * stddev * stddev)) 94 stddev = 3.0 99 rffm1 = RandomFourierFeatureMapper(3, 100, stddev) 100 rffm2 = RandomFourierFeatureMapper(3, 100, stddev) 114 stddev = 3.0 119 rffm = RandomFourierFeatureMapper(3, 100, stddev, seed=0) 122 exact_kernel_value = _compute_exact_rbf_kernel(x, y, stddev) 132 stddev = 5.0 143 rffm = RandomFourierFeatureMapper(input_dim, mapped_dim, stddev, seed=0) [all …]
|
/external/tensorflow/tensorflow/python/ops/ |
D | init_ops_v2.py | 277 def __init__(self, mean=0.0, stddev=0.05, seed=None): argument 279 self.stddev = stddev 295 return self._random_generator.random_normal(shape, self.mean, self.stddev, 301 "stddev": self.stddev, 324 def __init__(self, mean=0.0, stddev=0.05, seed=None): argument 326 self.stddev = stddev 343 self.stddev, dtype) 348 "stddev": self.stddev, 427 stddev = math.sqrt(scale) / .87962566103423978 428 return self._random_generator.truncated_normal(shape, 0.0, stddev, dtype) [all …]
|
D | stateless_random_ops.py | 108 stddev=1.0, argument 133 [shape, seed, mean, stddev]) as name: 136 stddev = ops.convert_to_tensor(stddev, dtype=dtype, name="stddev") 138 return math_ops.add(rnd * stddev, mean, name=name) 145 stddev=1.0, argument 174 [shape, seed, mean, stddev]) as name: 177 stddev = ops.convert_to_tensor(stddev, dtype=dtype, name="stddev") 180 return math_ops.add(rnd * stddev, mean, name=name)
|
D | stateful_random_ops.py | 215 def normal(self, shape, mean=0.0, stddev=1.0, dtype=dtypes.float32, argument 217 with ops.name_scope(name, "stateful_normal", [shape, mean, stddev]) as name: 220 stddev = ops.convert_to_tensor(stddev, dtype=dtype, name="stddev") 222 return math_ops.add(rnd * stddev, mean, name=name)
|
D | random_ops.py | 51 stddev=1.0, argument 73 with ops.name_scope(name, "random_normal", [shape, mean, stddev]) as name: 76 stddev_tensor = ops.convert_to_tensor(stddev, dtype=dtype, name="stddev") 146 stddev=1.0, argument 172 with ops.name_scope(name, "truncated_normal", [shape, mean, stddev]) as name: 175 stddev_tensor = ops.convert_to_tensor(stddev, dtype=dtype, name="stddev")
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | parameterized_truncated_normal_op_test.py | 50 stddev = None variable in TruncatedNormalMoments 54 def __init__(self, mean, stddev, minval, maxval): argument 57 self.stddev = np.double(stddev) 78 dist = scipy.stats.norm(loc=self.mean, scale=self.stddev) 85 m = ((k - 1) * self.stddev**2 * m_k_minus_2 + self.mean * m_k_minus_1 - 86 self.stddev * numerator / denominator) 121 def validateMoments(self, shape, mean, stddev, minval, maxval, seed=1618): argument 128 samples = random_ops.parameterized_truncated_normal(shape, mean, stddev, 133 expected_moments = TruncatedNormalMoments(mean, stddev, minval, maxval) 144 stddev, argument [all …]
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | noise.py | 59 def __init__(self, stddev, **kwargs): argument 62 self.stddev = stddev 68 shape=array_ops.shape(inputs), mean=0., stddev=self.stddev) 73 config = {'stddev': self.stddev} 116 stddev = np.sqrt(self.rate / (1.0 - self.rate)) 118 shape=array_ops.shape(inputs), mean=1.0, stddev=stddev)
|
D | kernelized_test.py | 45 def _exact_gaussian(stddev): argument 47 kernelized_utils.exact_gaussian_kernel, stddev=stddev) 50 def _exact_laplacian(stddev): argument 52 kernelized_utils.exact_laplacian_kernel, stddev=stddev) 76 3, 'unsupported_kernel', stddev=2.0) 320 ('gaussian', 'gaussian', 5.0, _exact_gaussian(stddev=5.0)), 321 ('laplacian', 'laplacian', 20.0, _exact_laplacian(stddev=20.0))) 359 ('gaussian', 'gaussian', 10.0, _exact_gaussian(stddev=10.0)), 360 ('laplacian', 'laplacian', 50.0, _exact_laplacian(stddev=50.0)))
|
/external/tensorflow/tensorflow/examples/speech_commands/ |
D | models.py | 192 initializer=tf.truncated_normal_initializer(stddev=0.001), 262 initializer=tf.truncated_normal_initializer(stddev=0.01), 281 initializer=tf.truncated_normal_initializer(stddev=0.01), 308 initializer=tf.truncated_normal_initializer(stddev=0.01), 380 initializer=tf.truncated_normal_initializer(stddev=0.01), 407 initializer=tf.truncated_normal_initializer(stddev=0.01), 421 initializer=tf.truncated_normal_initializer(stddev=0.01), 435 initializer=tf.truncated_normal_initializer(stddev=0.01), 559 initializer=tf.truncated_normal_initializer(stddev=0.01), 584 initializer=tf.truncated_normal_initializer(stddev=0.01), [all …]
|
/external/tensorflow/tensorflow/contrib/tensor_forest/hybrid/python/layers/ |
D | decisions_to_data.py | 44 mean=params.weight_init_mean, stddev=params.weight_init_std)) 50 mean=params.weight_init_mean, stddev=params.weight_init_std)) 85 mean=params.weight_init_mean, stddev=params.weight_init_std)) 91 mean=params.weight_init_mean, stddev=params.weight_init_std)) 130 mean=params.weight_init_mean, stddev=params.weight_init_std)) 136 mean=params.weight_init_mean, stddev=params.weight_init_std)) 168 mean=params.weight_init_mean, stddev=params.weight_init_std)) 174 mean=params.weight_init_mean, stddev=params.weight_init_std)) 220 mean=params.weight_init_mean, stddev=params.weight_init_std)) 226 mean=params.weight_init_mean, stddev=params.weight_init_std))
|
/external/v8/tools/ |
D | avg.py | 61 def __init__(self, key=0, average=0, stddev=0, min=0, max=0): argument 62 self.w = dict(key=key, average=average, stddev=stddev, min=min, max=max) 108 fmtN(self.stddev(), w.stddev), fmtN(self.min, w.min), 121 def stddev(self): member in Measurement 131 stddev=len(fmtN(self.stddev())),
|
/external/tensorflow/tensorflow/core/kernels/ |
D | parameterized_truncated_normal_op_gpu.cu.cc | 99 T stddev; in TruncatedNormalKernel() local 106 stddev = -input_stddev; in TruncatedNormalKernel() 108 stddev = input_stddev; in TruncatedNormalKernel() 112 const T normMin = (minval - mean) / stddev; in TruncatedNormalKernel() 113 const T normMax = (maxval - mean) / stddev; in TruncatedNormalKernel() 142 data[offset] = randn[i] * stddev + mean; in TruncatedNormalKernel() 183 data[offset] = z[i] * stddev + mean; in TruncatedNormalKernel() 213 data[offset] = z * stddev + mean; in TruncatedNormalKernel()
|
D | parameterized_truncated_normal_op.cc | 98 T stddev = stddevs((stddevs.dimension(0) == 1) ? 0 : b); in operator ()() local 110 stddev > T(0) && minval < maxval && in operator ()() 123 stddev = -stddev; in operator ()() 127 const T normMin = (minval - mean) / stddev; in operator ()() 128 const T normMax = (maxval - mean) / stddev; in operator ()() 158 output(sample) = randn_sample[i] * stddev + mean; in operator ()() 221 output(sample) = z[i] * stddev + mean; in operator ()() 261 output(sample) = z * stddev + mean; in operator ()()
|
/external/tensorflow/tensorflow/contrib/model_pruning/examples/cifar10/ |
D | cifar10_pruning.py | 105 def _variable_with_weight_decay(name, shape, stddev, wd): argument 124 stddev=stddev, dtype=dtype)) 190 'weights', shape=[5, 5, 3, 64], stddev=5e-2, wd=0.0) 213 'weights', shape=[5, 5, 64, 64], stddev=5e-2, wd=0.0) 238 'weights', shape=[dim, 384], stddev=0.04, wd=0.004) 248 'weights', shape=[384, 192], stddev=0.04, wd=0.004) 261 'weights', [192, NUM_CLASSES], stddev=1 / 192.0, wd=0.0)
|
/external/tensorflow/tensorflow/python/profiler/internal/ |
D | model_analyzer_testlib.py | 44 initializer=init_ops.random_normal_initializer(stddev=0.001)) 48 initializer=init_ops.random_normal_initializer(stddev=0.001)) 53 initializer=init_ops.random_normal_initializer(stddev=0.001)) 82 initializer=init_ops.random_normal_initializer(stddev=0.001)) 88 initializer=init_ops.random_normal_initializer(stddev=0.001))
|
/external/tensorflow/tensorflow/python/keras/ |
D | initializers.py | 89 def __init__(self, mean=0.0, stddev=0.05, seed=None, dtype=dtypes.float32): argument 91 mean=mean, stddev=stddev, seed=seed, dtype=dtype) 135 def __init__(self, mean=0.0, stddev=0.05, seed=None, dtype=dtypes.float32): argument 137 mean=mean, stddev=stddev, seed=seed, dtype=dtype)
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.normal/ |
D | ctor_double_double.pass.cpp | 26 assert(d.stddev() == 1); in main() 32 assert(d.stddev() == 1); in main() 38 assert(d.stddev() == 5.25); in main()
|
D | param_ctor.pass.cpp | 28 assert(p.stddev() == 1); in main() 35 assert(p.stddev() == 1); in main() 42 assert(p.stddev() == 5); in main()
|
/external/tensorflow/tensorflow/stream_executor/cuda/ |
D | cuda_rng.cc | 164 ElemT stddev, in DoPopulateRandGaussianInternal() argument 176 func(rng_, GpuMemoryMutable(v), element_count, mean, stddev); in DoPopulateRandGaussianInternal() 187 bool GpuRng::DoPopulateRandGaussian(Stream* stream, float mean, float stddev, in DoPopulateRandGaussian() argument 189 return DoPopulateRandGaussianInternal(stream, mean, stddev, v, in DoPopulateRandGaussian() 193 bool GpuRng::DoPopulateRandGaussian(Stream* stream, double mean, double stddev, in DoPopulateRandGaussian() argument 195 return DoPopulateRandGaussianInternal(stream, mean, stddev, v, in DoPopulateRandGaussian()
|
D | curand_10_0.inc | 118 size_t n, float mean, float stddev) { 122 return func_ptr(generator, outputPtr, n, mean, stddev); 127 size_t n, double mean, double stddev) { 131 return func_ptr(generator, outputPtr, n, mean, stddev); 136 size_t n, float mean, float stddev) { 140 return func_ptr(generator, outputPtr, n, mean, stddev); 145 size_t n, double mean, double stddev) { 149 return func_ptr(generator, outputPtr, n, mean, stddev);
|
/external/tensorflow/tensorflow/stream_executor/rocm/ |
D | rocm_rng.cc | 220 ElemT stddev, in DoPopulateRandGaussianInternal() argument 231 func(parent_, rng_, GpuMemoryMutable(v), element_count, mean, stddev); in DoPopulateRandGaussianInternal() 242 bool GpuRng::DoPopulateRandGaussian(Stream* stream, float mean, float stddev, in DoPopulateRandGaussian() argument 244 return DoPopulateRandGaussianInternal(stream, mean, stddev, v, in DoPopulateRandGaussian() 248 bool GpuRng::DoPopulateRandGaussian(Stream* stream, double mean, double stddev, in DoPopulateRandGaussian() argument 250 return DoPopulateRandGaussianInternal(stream, mean, stddev, v, in DoPopulateRandGaussian()
|
/external/tensorflow/tensorflow/stream_executor/gpu/ |
D | gpu_rng.h | 63 bool DoPopulateRandGaussian(Stream* stream, float mean, float stddev, 65 bool DoPopulateRandGaussian(Stream* stream, double mean, double stddev, 76 bool DoPopulateRandGaussianInternal(Stream* stream, ElemT mean, ElemT stddev,
|
/external/tensorflow/tensorflow/examples/tutorials/mnist/ |
D | mnist.py | 60 stddev=1.0 / math.sqrt(float(IMAGE_PIXELS))), 69 stddev=1.0 / math.sqrt(float(hidden1_units))), 78 stddev=1.0 / math.sqrt(float(hidden2_units))),
|