Home
last modified time | relevance | path

Searched refs:random_uniform (Results 1 – 25 of 173) sorted by relevance

1234567

/external/tensorflow/tensorflow/python/ops/parallel_for/
Darray_test.py38 x = random_ops.random_uniform([3, 3, 3])
56 x = random_ops.random_uniform([3, 2, 3])
65 x = random_ops.random_uniform([3, 2, 3])
74 x = random_ops.random_uniform([3, 2, 3])
83 x = random_ops.random_uniform([3, 2, 3])
84 y = random_ops.random_uniform([3])
96 x = random_ops.random_uniform([3, 2, 3])
105 x = random_ops.random_uniform([3, 2, 3])
116 x = random_ops.random_uniform([3, 2, 3])
125 x = random_ops.random_uniform([3, 2, 3])
[all …]
Dmath_test.py93 x = random_ops.random_uniform([3, 5])
96 y = random_ops.random_uniform([3, 5])
127 x = random_ops.random_uniform([3, 5])
189 x = random_ops.random_uniform([7, 3, 5])
190 y = random_ops.random_uniform([3, 5])
209 x = random_ops.random_uniform([3, 5])
210 y = random_ops.random_uniform([3, 5])
220 x = random_ops.random_uniform([2, 3, 5])
221 y = random_ops.random_uniform([3, 5])
222 z = random_ops.random_uniform([3, 5])
[all …]
Dcontrol_flow_ops_test.py66 x = random_ops.random_uniform([3, 2, 4])
82 x = random_ops.random_uniform([8, 3])
109 x = random_ops.random_uniform([8, 3])
123 x = random_ops.random_uniform([8, 3])
135 x = random_ops.random_uniform([8, 3])
147 x = random_ops.random_uniform([8, 3])
164 x = random_ops.random_uniform([8, 3])
178 x = random_ops.random_uniform([8, 3])
194 x = random_ops.random_uniform([7, 3, 5], maxval=10, dtype=dtypes.int32)
213 x = random_ops.random_uniform([7, 3, 5], maxval=10, dtype=dtypes.int32)
[all …]
/external/tensorflow/tensorflow/python/layers/
Dconvolutional_test.py41 images = random_ops.random_uniform((5, height, width, 3), seed=1)
47 images = random_ops.random_uniform((5, height, width, 3), seed=1)
56 images = random_ops.random_uniform((5, height, width, 3), seed=1)
66 images = random_ops.random_uniform((5, height, width, 4))
77 images = random_ops.random_uniform((5, height, width, 4), dtype='float16')
84 images = random_ops.random_uniform((5, height, width, 4))
95 images = random_ops.random_uniform((5, 4, height, width))
121 images = random_ops.random_uniform((5, height, width, 32), seed=1)
129 images = random_ops.random_uniform((5, height, width, 3), seed=1)
150 data = random_ops.random_uniform((5, width, 4))
[all …]
Dpooling_test.py32 images = random_ops.random_uniform((5, height, width, 3), seed=1)
38 images = random_ops.random_uniform((5, height, width, 3), seed=1)
47 images = random_ops.random_uniform((5, height, width, 3), seed=1)
56 images = random_ops.random_uniform((5, height, width, 4))
63 images = random_ops.random_uniform((5, height, width, 4))
71 images = random_ops.random_uniform((5, 2, height, width))
81 images = random_ops.random_uniform((3, 4, height, width))
104 images = random_ops.random_uniform((5, width, channels))
113 images = random_ops.random_uniform((5, width, channels))
122 images = random_ops.random_uniform((5, channels, width))
[all …]
Dcore_test.py56 dense.apply(random_ops.random_uniform((5, 2)))
59 dense.apply(random_ops.random_uniform((5, 2)))
74 inputs = random_ops.random_uniform((5, 4), seed=1)
91 inputs = random_ops.random_uniform((5, 4), seed=1)
98 inputs = random_ops.random_uniform((5, 4, 3), seed=1)
105 inputs = random_ops.random_uniform((5, 2), seed=1)
119 inputs = random_ops.random_uniform((5, 2), seed=1)
132 inputs = random_ops.random_uniform((5, 3), seed=1)
136 inputs = random_ops.random_uniform((5, 2, 3), seed=1)
140 inputs = random_ops.random_uniform((1, 2, 4, 3), seed=1)
[all …]
/external/tensorflow/tensorflow/contrib/slim/python/slim/nets/
Dvgg_test.py38 inputs = random_ops.random_uniform((batch_size, height, width, 3))
49 inputs = random_ops.random_uniform((batch_size, height, width, 3))
61 inputs = random_ops.random_uniform((batch_size, height, width, 3))
77 inputs = random_ops.random_uniform((batch_size, height, width, 3))
111 eval_inputs = random_ops.random_uniform((batch_size, height, width, 3))
125 train_inputs = random_ops.random_uniform(
131 eval_inputs = random_ops.random_uniform(
145 inputs = random_ops.random_uniform((batch_size, height, width, 3))
159 inputs = random_ops.random_uniform((batch_size, height, width, 3))
170 inputs = random_ops.random_uniform((batch_size, height, width, 3))
[all …]
Dinception_v3_test.py43 inputs = random_ops.random_uniform((batch_size, height, width, 3))
56 inputs = random_ops.random_uniform((batch_size, height, width, 3))
81 inputs = random_ops.random_uniform((batch_size, height, width, 3))
92 inputs = random_ops.random_uniform((batch_size, height, width, 3))
125 inputs = random_ops.random_uniform((batch_size, height, width, 3))
137 inputs = random_ops.random_uniform((batch_size, height, width, 3))
161 inputs = random_ops.random_uniform((batch_size, height, width, 3))
182 inputs = random_ops.random_uniform((batch_size, height, width, 3))
203 inputs = random_ops.random_uniform((batch_size, height, width, 3))
214 inputs = random_ops.random_uniform((batch_size, height, width, 3))
[all …]
Dinception_v2_test.py43 inputs = random_ops.random_uniform((batch_size, height, width, 3))
56 inputs = random_ops.random_uniform((batch_size, height, width, 3))
78 inputs = random_ops.random_uniform((batch_size, height, width, 3))
89 inputs = random_ops.random_uniform((batch_size, height, width, 3))
119 inputs = random_ops.random_uniform((batch_size, height, width, 3))
131 inputs = random_ops.random_uniform((batch_size, height, width, 3))
152 inputs = random_ops.random_uniform((batch_size, height, width, 3))
173 inputs = random_ops.random_uniform((batch_size, height, width, 3))
184 inputs = random_ops.random_uniform((batch_size, height, width, 3))
221 images = random_ops.random_uniform((batch_size, height, width, 3))
[all …]
Doverfeat_test.py37 inputs = random_ops.random_uniform((batch_size, height, width, 3))
48 inputs = random_ops.random_uniform((batch_size, height, width, 3))
59 inputs = random_ops.random_uniform((batch_size, height, width, 3))
74 inputs = random_ops.random_uniform((batch_size, height, width, 3))
102 eval_inputs = random_ops.random_uniform((batch_size, height, width, 3))
116 train_inputs = random_ops.random_uniform(
122 eval_inputs = random_ops.random_uniform(
136 inputs = random_ops.random_uniform((batch_size, height, width, 3))
Dalexnet_test.py37 inputs = random_ops.random_uniform((batch_size, height, width, 3))
48 inputs = random_ops.random_uniform((batch_size, height, width, 3))
59 inputs = random_ops.random_uniform((batch_size, height, width, 3))
74 inputs = random_ops.random_uniform((batch_size, height, width, 3))
102 eval_inputs = random_ops.random_uniform((batch_size, height, width, 3))
116 train_inputs = random_ops.random_uniform(
122 eval_inputs = random_ops.random_uniform(
136 inputs = random_ops.random_uniform((batch_size, height, width, 3))
Dinception_v1_test.py43 inputs = random_ops.random_uniform((batch_size, height, width, 3))
56 inputs = random_ops.random_uniform((batch_size, height, width, 3))
80 inputs = random_ops.random_uniform((batch_size, height, width, 3))
91 inputs = random_ops.random_uniform((batch_size, height, width, 3))
123 inputs = random_ops.random_uniform((batch_size, height, width, 3))
134 inputs = random_ops.random_uniform((batch_size, height, width, 3))
168 images = random_ops.random_uniform((batch_size, height, width, 3))
180 eval_inputs = random_ops.random_uniform((batch_size, height, width, 3))
196 train_inputs = random_ops.random_uniform(
199 eval_inputs = random_ops.random_uniform((eval_batch_size, height, width, 3))
[all …]
/external/tensorflow/tensorflow/python/grappler/
Dcluster_test.py36 a = random_ops.random_uniform(shape=())
37 b = random_ops.random_uniform(shape=())
53 a = random_ops.random_uniform(shape=())
54 b = random_ops.random_uniform(shape=())
71 a = random_ops.random_uniform(shape=())
72 b = random_ops.random_uniform(shape=())
91 a = random_ops.random_uniform(shape=[1024, 1024])
92 b = random_ops.random_uniform(shape=[1024, 1024])
118 a = random_ops.random_uniform(shape=())
119 b = random_ops.random_uniform(shape=())
[all …]
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_test.py41 a_2_by_2 = random_ops.random_uniform((2, 2))
42 b_2_by_2 = random_ops.random_uniform((2, 2))
44 a_100_by_784 = random_ops.random_uniform((100, 784))
45 b_100_by_784 = random_ops.random_uniform((100, 784))
109 a_2_by_2 = random_ops.random_uniform((2, 2))
110 b_2_by_2 = random_ops.random_uniform((2, 2))
123 a_2_by_2 = random_ops.random_uniform((2, 2))
124 b_2_by_2 = random_ops.random_uniform((2, 2))
142 a_2_by_2 = random_ops.random_uniform((2, 2))
143 b_2_by_2 = random_ops.random_uniform((2, 2))
[all …]
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dlayers_test.py80 images = random_ops.random_uniform((5, height, width, 3), seed=1)
88 images = random_ops.random_uniform((5, height, width, 3), seed=1)
95 images = random_ops.random_uniform((5, height, width, 3), seed=1)
101 images = random_ops.random_uniform((5, height, width, 3), seed=1)
107 images = random_ops.random_uniform((5, 3, height, width), seed=1)
114 images = random_ops.random_uniform((5, height, width, 3), seed=1)
120 images = random_ops.random_uniform((5, height, width, 3), seed=1)
150 images = random_ops.random_uniform((5, depth, height, width, 3), seed=1)
159 images = random_ops.random_uniform((5, depth, height, width, 3), seed=1)
166 images = random_ops.random_uniform((5, depth, height, width, 3), seed=1)
[all …]
Dnormalization_test.py57 images = random_ops.random_uniform((5, height, width, 3), seed=1)
66 images = random_ops.random_uniform(
75 images = random_ops.random_uniform(
86 images = random_ops.random_uniform((5, height, width, 3), seed=1)
95 images = random_ops.random_uniform((5, height, width, 3), seed=1)
106 images = random_ops.random_uniform(image_shape, seed=1)
130 inputs = random_ops.random_uniform(input_shape, seed=0) * sigma + mu
235 images = random_ops.random_uniform((5, height, width, 2*groups), seed=1)
243 images = random_ops.random_uniform(
251 images = random_ops.random_uniform(
[all …]
Drev_block_lib_test.py53 x = random_ops.random_uniform(
76 y = random_ops.random_uniform(
116 x = random_ops.random_uniform(
165 f_side_input = random_ops.random_uniform(
186 x = random_ops.random_uniform(
206 x = random_ops.random_uniform(
270 x = random_ops.random_uniform((3, 1, 3))
387 layer_list = [random_ops.random_uniform((4, 8))]
396 x = random_ops.random_uniform((4, 8))
397 y = random_ops.random_uniform((4, 8))
/external/tensorflow/tensorflow/contrib/eager/python/examples/densenet/
Ddensenet_test.py49 rand_input = tf.random_uniform((batch_size, 32, 32, 3))
51 rand_input = tf.random_uniform((batch_size, 3, 32, 32))
72 rand_input = tf.random_uniform((batch_size, 32, 32, 3))
74 rand_input = tf.random_uniform((batch_size, 3, 32, 32))
95 rand_input = tf.random_uniform((batch_size, 32, 32, 3))
97 rand_input = tf.random_uniform((batch_size, 3, 32, 32))
103 rand_input = tf.random_uniform((10, 3, 32, 32))
106 rand_input = tf.random_uniform((10, 32, 32, 3))
166 images = tf.random_uniform(shape)
167 labels = tf.random_uniform(
/external/tensorflow/tensorflow/python/kernel_tests/
Dctc_loss_op_test.py317 labels = random_ops.random_uniform(
320 logits = random_ops.random_uniform([num_frames, batch_size, num_labels])
322 label_length = random_ops.random_uniform(
362 logits = random_ops.random_uniform([num_frames, batch_size, num_labels])
363 labels = random_ops.random_uniform(
367 label_lengths = random_ops.random_uniform(
415 logits = random_ops.random_uniform([num_frames, batch_size, num_labels])
416 labels = random_ops.random_uniform(
420 label_lengths = random_ops.random_uniform(
469 logits = random_ops.random_uniform([num_frames, batch_size, num_labels])
[all …]
/external/tensorflow/tensorflow/contrib/memory_stats/python/kernel_tests/
Dmemory_stats_ops_test.py62 a = random_ops.random_uniform(matrix_shape, dtype=dtype)
63 b = random_ops.random_uniform(matrix_shape, dtype=dtype)
75 a = random_ops.random_uniform(matrix_shape, dtype=dtype)
79 b = random_ops.random_uniform(matrix_shape, dtype=dtype)
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dhoist_random_uniform.cc163 auto* const random_uniform = stateless_function->mutable_node_def( in MakeLessStatefulFunction() local
168 random_uniform->set_op("StatelessRandomUniform"); in MakeLessStatefulFunction()
169 random_uniform->add_input(seed_arg->name()); in MakeLessStatefulFunction()
170 (*random_uniform->mutable_attr())["Tseed"].set_type(DT_INT64); in MakeLessStatefulFunction()
171 random_uniform->mutable_attr()->erase("seed"); in MakeLessStatefulFunction()
172 random_uniform->mutable_attr()->erase("seed2"); in MakeLessStatefulFunction()
/external/tensorflow/tensorflow/python/kernel_tests/random/
Drandom_ops_test.py267 rng = random_ops.random_uniform(
307 random_ops.random_uniform(
311 random_ops.random_uniform(
374 rnd1 = random_ops.random_uniform(shape, 0, 17, dtype=dtype)
375 rnd2 = random_ops.random_uniform(shape, 0, 17, dtype=dtype)
385 random_ops.random_uniform, 100, dt, 0, 17, use_gpu=use_gpu)
393 random_ops.random_uniform,
407 random_ops.random_uniform,
447 rnd1 = random_ops.random_uniform([1, 2, 3])
450 rnd2 = random_ops.random_uniform(
[all …]
/external/tensorflow/tensorflow/contrib/gan/python/eval/python/
Dsliced_wasserstein_test.py79 d1 = random_ops.random_uniform([256, 32, 32, 3])
95 d1 = random_ops.random_uniform([256, 32, 32, 3])
111 d1 = random_ops.random_uniform([256, 32, 32, 3])
124 d1 = random_ops.random_uniform([256, 32, 32, 1])
/external/tensorflow/tensorflow/contrib/image/python/ops/
Ddistort_image_ops.py86 delta_hue = random_ops.random_uniform(
91 scale_saturation = random_ops.random_uniform(
96 scale_value = random_ops.random_uniform(
/external/tensorflow/tensorflow/python/ops/
Dmatmul_benchmark.py52 x = variables.VariableV1(random_ops.random_uniform([n, m], dtype=dtype),
55 x = variables.VariableV1(random_ops.random_uniform([m, n], dtype=dtype),
58 y = variables.VariableV1(random_ops.random_uniform([m, k], dtype=dtype),
61 y = variables.VariableV1(random_ops.random_uniform([k, m], dtype=dtype),

1234567