Home
last modified time | relevance | path

Searched refs:test_samples (Results 1 – 19 of 19) sorted by relevance

/external/rust/crates/rand/src/distributions/
Dinteger.rs190 fn test_samples<T: Copy + core::fmt::Debug + PartialEq>(zero: T, expected: &[T]) in value_stability() function
200 test_samples(0u8, &[9, 247, 111]); in value_stability()
201 test_samples(0u16, &[32265, 42999, 38255]); in value_stability()
202 test_samples(0u32, &[2220326409, 2575017975, 2018088303]); in value_stability()
203 test_samples(0u64, &[ in value_stability()
208 test_samples(0u128, &[ in value_stability()
214 test_samples(0usize, &[2220326409, 2575017975, 2018088303]); in value_stability()
216 test_samples(0usize, &[ in value_stability()
222 test_samples(0i8, &[9, -9, 111]); in value_stability()
229 test_samples(u8x2::default(), &[ in value_stability()
[all …]
Dother.rs252 fn test_samples<T: Copy + core::fmt::Debug + PartialEq, D: Distribution<T>>( in value_stability() function
263 test_samples(&Standard, 'a', &[ in value_stability()
270 test_samples(&Alphanumeric, 0, &[104, 109, 101, 51, 77]); in value_stability()
271 test_samples(&Standard, false, &[true, true, false, true, false]); in value_stability()
272 test_samples(&Standard, None as Option<bool>, &[ in value_stability()
279 test_samples(&Standard, Wrapping(0i32), &[ in value_stability()
288 test_samples(&Standard, (), &[(), (), (), (), ()]); in value_stability()
289 test_samples(&Standard, (false,), &[ in value_stability()
296 test_samples(&Standard, (false, false), &[ in value_stability()
304 test_samples(&Standard, [0u8; 0], &[[], [], [], [], []]); in value_stability()
[all …]
Dfloat.rs261 fn test_samples<T: Copy + core::fmt::Debug + PartialEq, D: Distribution<T>>( in value_stability() function
272 test_samples(&Standard, 0f32, &[0.0035963655, 0.7346052, 0.09778172]); in value_stability()
273 test_samples(&Standard, 0f64, &[ in value_stability()
279 test_samples(&OpenClosed01, 0f32, &[0.003596425, 0.73460525, 0.09778178]); in value_stability()
280 test_samples(&OpenClosed01, 0f64, &[ in value_stability()
286 test_samples(&Open01, 0f32, &[0.0035963655, 0.73460525, 0.09778172]); in value_stability()
287 test_samples(&Open01, 0f64, &[ in value_stability()
299 test_samples(&Standard, f32x2::new(0.0, 0.0), &[ in value_stability()
305 test_samples(&Standard, f64x2::new(0.0, 0.0), &[ in value_stability()
Dweighted_index.rs394 fn test_samples<X: SampleUniform + PartialOrd, I>( in value_stability() function
411 test_samples(&[1i32, 1, 1, 1, 1, 1, 1, 1, 1], &mut buf, &[ in value_stability()
414 test_samples(&[0.7f32, 0.1, 0.1, 0.1], &mut buf, &[ in value_stability()
417 test_samples(&[1.0f64, 0.999, 0.998, 0.997], &mut buf, &[ in value_stability()
Duniform.rs1574 fn test_samples<T: SampleUniform + Copy + core::fmt::Debug + PartialEq>( in value_stability() function
1595 test_samples(11u8, 219, &[17, 66, 214], &[181, 93, 165]); in value_stability()
1596 test_samples(11u32, 219, &[17, 66, 214], &[181, 93, 165]); in value_stability()
1598 test_samples(0f32, 1e-2f32, &[0.0003070104, 0.0026630748, 0.00979833], &[ in value_stability()
1603 test_samples( in value_stability()
1610 test_samples( in value_stability()
/external/tensorflow/tensorflow/python/keras/tests/
Dintegration_test.py64 test_samples=0,
94 test_samples=0,
141 test_samples=0,
188 test_samples=0,
217 test_samples=0,
253 test_samples=0,
296 test_samples=0,
/external/tensorflow/tensorflow/python/keras/integration_test/
Dlegacy_rnn_test.py62 test_samples=0,
95 test_samples=0,
128 test_samples=0,
165 test_samples=0,
208 test_samples=0,
245 test_samples=0,
279 test_samples=0,
374 test_samples, argument
377 num_sample = train_samples + test_samples
/external/tensorflow/tensorflow/python/keras/
Dcallbacks_v1_test.py61 test_samples=TEST_SAMPLES,
169 test_samples=TEST_SAMPLES,
272 test_samples=TEST_SAMPLES,
367 test_samples=TEST_SAMPLES,
478 test_samples=TEST_SAMPLES,
Dcallbacks_test.py465 test_samples=TEST_SAMPLES,
1012 test_samples=TEST_SAMPLES,
1070 test_samples=50,
1159 test_samples=TEST_SAMPLES,
1230 test_samples=TEST_SAMPLES,
1337 test_samples=TEST_SAMPLES,
1415 test_samples=TEST_SAMPLES,
1467 test_samples=TEST_SAMPLES,
1505 test_samples=TEST_SAMPLES,
1576 test_samples=TEST_SAMPLES,
Dregularizers_test.py52 test_samples=10,
Doptimizers_test.py56 train_samples=1000, test_samples=200, input_shape=(10,), num_classes=2)
Dtesting_utils.py63 test_samples, argument
81 num_sample = train_samples + test_samples
/external/tensorflow/tensorflow/python/keras/wrappers/
Dscikit_learn_test.py54 test_samples=TEST_SAMPLES,
90 test_samples=TEST_SAMPLES,
/external/tensorflow/tensorflow/python/keras/layers/
Dgru_v2_test.py104 test_samples=0,
166 test_samples=0,
713 test_samples=0,
776 test_samples=0,
Dlstm_v2_test.py339 test_samples=0,
488 test_samples=0,
885 test_samples=0,
949 test_samples=0,
1108 test_samples=0,
Dgru_test.py119 test_samples=0,
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Doptimizer_v2_test.py593 test_samples=10,
716 test_samples=10,
802 test_samples=10,
859 test_samples=10,
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_test.py950 test_samples=10,
1776 test_samples = 1000
1792 test_samples=test_samples,
1845 test_samples = 1000
1861 test_samples=test_samples,
/external/tensorflow/tensorflow/python/keras/distribute/
Ddistribute_strategy_test.py127 test_samples=50,
133 test_samples=50,
139 test_samples=50,