/external/tensorflow/tensorflow/contrib/gan/python/features/python/ |
D | conditioning_utils_test.py | 34 array_ops.placeholder(dtypes.float32, tensor_shape), 35 array_ops.placeholder(dtypes.float32, conditioning_shape)) 40 array_ops.placeholder(dtypes.float32, (4, 1)), 41 array_ops.placeholder(dtypes.float32, (5, 1))) 45 array_ops.placeholder(dtypes.float32, (5, None)), 46 array_ops.placeholder(dtypes.float32, (5, 1))) 50 array_ops.placeholder(dtypes.float32, (5, 2)), 51 array_ops.placeholder(dtypes.float32, (5))) 55 array_ops.placeholder(dtypes.float32, (5, 4, 1)), 56 array_ops.placeholder(dtypes.float32, (5, 10))) [all …]
|
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/bijectors/ |
D | affine_test.py | 43 placeholder = array_ops.placeholder(dtypes.float32, name="x") 51 fun(placeholder, **kwargs), feed_dict={placeholder: x_value}) 75 placeholder = array_ops.placeholder(dtypes.float32, name="x") 83 fun(placeholder, **kwargs), feed_dict={placeholder: x_value}) 118 x = array_ops.placeholder(dtypes.float32, name="x") 119 mu = array_ops.placeholder(dtypes.float32, name="mu") 120 scale_diag = array_ops.placeholder(dtypes.float32, name="scale_diag") 141 placeholder = array_ops.placeholder(dtypes.float32, name="x") 149 fun(placeholder, **kwargs), feed_dict={placeholder: x_value}) 165 placeholder = array_ops.placeholder(dtypes.float32, name="x") [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/tools/opt/ |
D | oconfig.py | 15 import placeholder 40 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') 41 config = placeholder.ConfigFlagsFile('', '.cfg') 42 spirv_args = [shader, '-o', placeholder.TempFileName('output.spv'), config] 52 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') 53 config = placeholder.ConfigFlagsFile(""" 58 spirv_args = [shader, '-o', placeholder.TempFileName('output.spv'), config] 67 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') 68 config = placeholder.ConfigFlagsFile(""" 73 spirv_args = [shader, '-o', placeholder.TempFileName('output.spv'), config]
|
D | flags.py | 15 import placeholder 40 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') 41 output = placeholder.TempFileName('output.spv') 125 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') 126 output = placeholder.TempFileName('output.spv') 172 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') 173 output = placeholder.TempFileName('output.spv') 211 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') 212 output = placeholder.TempFileName('output.spv') 250 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') [all …]
|
/external/tensorflow/tensorflow/contrib/ffmpeg/ |
D | decode_audio_op_test.py | 137 placeholder = array_ops.placeholder(dtypes.int32) 139 samples_per_second_tensor=placeholder, 140 feed_dict={placeholder: 20000}) 143 placeholder = array_ops.placeholder(dtypes.float32) 146 samples_per_second_tensor=placeholder, 147 feed_dict={placeholder: 20000.0}) 150 placeholder = array_ops.placeholder(dtypes.int32) 154 samples_per_second_tensor=placeholder, 155 feed_dict={placeholder: 0}) 158 placeholder = array_ops.placeholder(dtypes.int32) [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | map_stage_op_test.py | 37 x = array_ops.placeholder(dtypes.float32) 38 pi = array_ops.placeholder(dtypes.int64) 39 gi = array_ops.placeholder(dtypes.int64) 59 x = array_ops.placeholder(dtypes.float32) 60 pi = array_ops.placeholder(dtypes.int64) 61 gi = array_ops.placeholder(dtypes.int64) 82 x = array_ops.placeholder(dtypes.float32) 83 pi = array_ops.placeholder(dtypes.int64) 84 gi = array_ops.placeholder(dtypes.int64) 111 x = array_ops.placeholder(dtypes.float32) [all …]
|
D | reduce_join_op_test.py | 240 placeholder = array_ops.placeholder(dtypes.string, name="placeholder") 241 reduced = string_ops.reduce_join(placeholder, axis=0) 242 output_array = reduced.eval(feed_dict={placeholder.name: input_array}) 254 placeholder = array_ops.placeholder(dtypes.int32, name="placeholder") 255 reduced = string_ops.reduce_join(input_array, axis=placeholder) 256 output_array_dim_zero = reduced.eval(feed_dict={placeholder.name: [0]}) 257 output_array_dim_one = reduced.eval(feed_dict={placeholder.name: [1]}) 335 placeholder = array_ops.placeholder(dtypes.string, name="placeholder") 336 index_too_high = string_ops.reduce_join(placeholder, axis=1) 337 duplicate_index = string_ops.reduce_join(placeholder, axis=[-1, 1]) [all …]
|
D | batchtospace_op_test.py | 126 array_ops.placeholder(dtypes.float32), 127 array_ops.placeholder(dtypes.int32), 153 input_placeholder = array_ops.placeholder(dtypes.float32) 154 block_shape_placeholder = array_ops.placeholder( 156 paddings_placeholder = array_ops.placeholder(dtypes.int32) 203 array_ops.placeholder(dtypes.float32), 204 array_ops.placeholder( 206 array_ops.placeholder(dtypes.int32)) 210 array_ops.placeholder( 212 array_ops.placeholder( [all …]
|
D | tensordot_op_test.py | 57 a_ph = array_ops.placeholder(dtypes.float32) 58 b_ph = array_ops.placeholder(dtypes.float32) 59 axes_ph = array_ops.placeholder(dtypes.int32) 81 a_ph = array_ops.placeholder(dtypes.float32) 82 b_ph = array_ops.placeholder(dtypes.float32) 83 axes_ph = array_ops.placeholder(dtypes.int32) 114 a = array_ops.placeholder(dtypes.float32) 115 b = array_ops.placeholder(dtypes.float32) 126 a = array_ops.placeholder(dtypes.float32) 127 b = array_ops.placeholder(dtypes.float32) [all …]
|
D | reverse_sequence_op_test.py | 141 array_ops.placeholder( 143 seq_lengths=array_ops.placeholder( 152 array_ops.placeholder( 154 seq_lengths=array_ops.placeholder( 161 array_ops.placeholder( 163 seq_lengths=array_ops.placeholder( 170 array_ops.placeholder( 172 seq_lengths=array_ops.placeholder( 178 inputs = array_ops.placeholder(dtypes.float32, shape=(32, 2, 3)) 179 seq_lengths = array_ops.placeholder(dtypes.int64, shape=(32,))
|
/external/deqp-deps/SPIRV-Tools/test/tools/opt/ |
D | flags.py | 15 import placeholder 40 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') 41 output = placeholder.TempFileName('output.spv') 125 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') 126 output = placeholder.TempFileName('output.spv') 172 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') 173 output = placeholder.TempFileName('output.spv') 211 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') 212 output = placeholder.TempFileName('output.spv') 250 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') [all …]
|
D | oconfig.py | 15 import placeholder 40 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') 41 config = placeholder.ConfigFlagsFile('', '.cfg') 42 spirv_args = [shader, '-o', placeholder.TempFileName('output.spv'), config] 52 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') 53 config = placeholder.ConfigFlagsFile(""" 58 spirv_args = [shader, '-o', placeholder.TempFileName('output.spv'), config]
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/ |
D | tensor_signature_test.py | 38 placeholder_a = array_ops.placeholder( 40 placeholder_b = array_ops.placeholder( 42 placeholder_c = array_ops.placeholder( 44 placeholder_d = array_ops.placeholder( 87 placeholder_a = array_ops.placeholder( 112 placeholder = tensor_signature.create_placeholders_from_signatures( 114 self.assertTrue(isinstance(placeholder, sparse_tensor.SparseTensor)) 115 self.assertEqual(placeholder.values.dtype, tensor.values.dtype) 118 examples = array_ops.placeholder( 120 placeholder_a = array_ops.placeholder( [all …]
|
/external/tensorflow/tensorflow/contrib/training/python/training/ |
D | sequence_queueing_state_saver_test.py | 166 length = array_ops.placeholder(dtypes.int32) 167 key = array_ops.placeholder(dtypes.string) 169 "seq1": array_ops.placeholder( 174 "state1": array_ops.placeholder( 199 length = array_ops.placeholder(dtypes.int32) 200 key = array_ops.placeholder(dtypes.string) 202 "seq1": array_ops.placeholder( 204 "seq2": array_ops.placeholder( 209 "state1": array_ops.placeholder( 249 length = array_ops.placeholder(dtypes.int32) [all …]
|
/external/tensorflow/tensorflow/python/client/ |
D | session_partial_run_test.py | 45 a = array_ops.placeholder(dtypes.float32, shape=[]) 46 b = array_ops.placeholder(dtypes.float32, shape=[]) 47 c = array_ops.placeholder(dtypes.float32, shape=[]) 67 a = array_ops.placeholder(dtypes.float32, shape=[]) 68 b = array_ops.placeholder(dtypes.float32, shape=[]) 69 c = array_ops.placeholder(dtypes.float32, shape=[]) 78 a = array_ops.placeholder(dtypes.float32, shape=[]) 79 b = array_ops.placeholder(dtypes.float32, shape=[]) 80 c = array_ops.placeholder(dtypes.float32, shape=[]) 100 inputs.append(array_ops.placeholder(dtypes.float32, shape=[])) [all …]
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | slice_ops_test.py | 33 i = array_ops.placeholder(dtype, shape=[10]) 46 i = array_ops.placeholder(dtype, shape=[2]) 59 i = array_ops.placeholder(dtype, shape=[3, 3, 10]) 81 i = array_ops.placeholder(dtype, shape=[3, 3, 10]) 82 begin = array_ops.placeholder(dtypes.int32, shape=[3]) 105 i = array_ops.placeholder(dtype, shape=[3, 3, 10]) 106 begin = array_ops.placeholder(dtypes.int32, shape=[3]) 131 i = array_ops.placeholder(dtype, shape=[10]) 144 i = array_ops.placeholder(dtype, shape=[10]) 157 i = array_ops.placeholder(dtype, shape=[2, 3]) [all …]
|
D | spacetobatch_op_test.py | 78 placeholder = array_ops.placeholder(dtype) 80 placeholder, paddings, block_size=block_size) 81 self.assertAllEqual(sess.run(x_tf, {placeholder: inputs}), outputs) 84 placeholder, paddings, block_size=block_size) 85 self.assertAllEqual(sess.run(x_tf, {placeholder: outputs}), inputs) 174 placeholder = array_ops.placeholder(dtype) 176 x_tf = array_ops.space_to_batch_nd(placeholder, block_shape, 179 sess.run(x_tf, {placeholder: actual_inputs}), expected_outputs) 181 placeholder = array_ops.placeholder(dtype) 182 x_tf = array_ops.batch_to_space_nd(placeholder, block_shape, [all …]
|
D | image_ops_test.py | 57 batch0 = array_ops.placeholder(nptype, shape=shape) 81 placeholder = array_ops.placeholder(nptype) 83 hsv = image_ops.rgb_to_hsv(placeholder) 85 rgb_tf = rgb.eval(feed_dict={placeholder: rgb_np}) 100 placeholder = array_ops.placeholder(nptype) 102 hsv_op = image_ops.rgb_to_hsv(placeholder) 103 hsv_tf = hsv_op.eval(feed_dict={placeholder: rgb_np}) 111 x = array_ops.placeholder(x_np.dtype, shape=x_np.shape) 149 x = array_ops.placeholder(np.float32) 183 x = array_ops.placeholder(x_np.dtype, shape=x_shape) [all …]
|
/external/tensorflow/tensorflow/compiler/aot/tests/ |
D | make_test_graphs.py | 49 x = array_ops.placeholder(dtypes.int32, name='x_hold') 64 x = array_ops.placeholder(dtypes.int32, name='x_hold') 83 x = array_ops.placeholder(dtypes.int32, name='x_hold') 84 y = array_ops.placeholder(dtypes.int32, name='y_hold') 91 p = array_ops.placeholder(dtypes.bool, name='p_hold') 92 x = array_ops.placeholder(dtypes.int32, name='x_hold') 93 y = array_ops.placeholder(dtypes.int32, name='y_hold') 99 params = array_ops.placeholder(dtypes.float32, name='params') 100 indices = array_ops.placeholder(dtypes.int32, name='indices') 105 x = array_ops.placeholder(dtypes.float32, name='x_hold') [all …]
|
/external/tensorflow/tensorflow/python/ops/ |
D | logging_ops.py | 119 placeholder = default_placeholder 121 while placeholder in x: 122 placeholder = placeholder + str(rng.randint(0, 9)) 123 return placeholder 289 placeholder = _generate_placeholder_string(tensor_free_template) 303 placeholder, placeholder, placeholder) 307 placeholders.append(placeholder) 336 template = template.replace("'" + placeholder + "'", placeholder) 338 inputs=tensors, template=template, placeholder=placeholder,
|
D | special_math_ops_test.py | 55 ph = array_ops.placeholder(dtypes.float32) 71 x_ph = array_ops.placeholder(dtypes.float32, [3, 2, 3, None]) 91 ph = array_ops.placeholder(dtypes.float32) 264 array_ops.placeholder(dtypes.float32, shape=(3, 4)), 265 array_ops.placeholder(dtypes.float32, shape=(3, 4)), 272 m0 = array_ops.placeholder(dtypes.int32, shape=(1, None)) 273 m1 = array_ops.placeholder(dtypes.int32, shape=(None, 1)) 287 x = array_ops.placeholder(dtypes.float32, shape=[2, 2]) 295 array_ops.placeholder(dtypes.float32, shape=shape) 328 m0 = array_ops.placeholder(dtypes.int32, shape=(1, None)) [all …]
|
/external/tensorflow/tensorflow/lite/testing/ |
D | generate_examples.py | 301 input_tensor = tf.placeholder( 625 input_tensor = tf.placeholder( 672 input_tensor = tf.placeholder( 698 input_tensor = tf.placeholder( 722 input_tensor = tf.placeholder( 746 input_tensor = tf.placeholder( 772 input_tensor = tf.placeholder( 807 input_tensor = tf.placeholder( 856 input_tensor = tf.placeholder( 886 dummy_input = tf.placeholder( [all …]
|
/external/tensorflow/tensorflow/contrib/metrics/python/metrics/ |
D | classification_test.py | 38 pred = array_ops.placeholder(dtypes.int32, shape=[None]) 39 labels = array_ops.placeholder(dtypes.int32, shape=[None]) 48 pred = array_ops.placeholder(dtypes.bool, shape=[None]) 49 labels = array_ops.placeholder(dtypes.bool, shape=[None]) 58 pred = array_ops.placeholder(dtypes.int64, shape=[None]) 59 labels = array_ops.placeholder(dtypes.int64, shape=[None]) 68 pred = array_ops.placeholder(dtypes.string, shape=[None]) 69 labels = array_ops.placeholder(dtypes.string, shape=[None]) 79 pred = array_ops.placeholder(dtypes.int32, shape=[None]) 80 labels = array_ops.placeholder(dtypes.int64, shape=[None]) [all …]
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | node_matchers_test.cc | 51 Output placeholder = in TEST() local 54 EXPECT_THAT(placeholder.node(), NodeWith(Op("Placeholder"))); in TEST() 55 EXPECT_THAT(placeholder.node(), NodeWith(Name("placeholder"))); in TEST() 56 EXPECT_THAT(placeholder.node(), in TEST() 58 EXPECT_THAT(placeholder.node(), in TEST() 60 EXPECT_THAT(placeholder.node(), NodeWith(Inputs())); in TEST() 61 EXPECT_THAT(placeholder.node(), in TEST() 64 EXPECT_EQ(Explain(placeholder.node(), NodeWith(Op("Add"))), in TEST() 66 EXPECT_EQ(Explain(placeholder.node(), NodeWith(Name("add"))), in TEST() 68 EXPECT_EQ(Explain(placeholder.node(), NodeWith(Inputs(Out(NodeWith())))), in TEST() [all …]
|
/external/tensorflow/tensorflow/core/grappler/utils/ |
D | functions.cc | 63 const string& placeholder = attr.second.placeholder(); in ResolveFunctionBodyNodeAttrPlaceholders() local 64 if (placeholder.empty()) continue; in ResolveFunctionBodyNodeAttrPlaceholders() 66 const AttrValue* attr_value = func_instantiation_attr.Find(placeholder); in ResolveFunctionBodyNodeAttrPlaceholders() 71 placeholder); in ResolveFunctionBodyNodeAttrPlaceholders() 85 const string& placeholder = input_arg_expansion.placeholders[i]; in RegisterInputArgExpansion() local 87 {placeholder, InputArgPlaceholder{input_name, /*input_index=*/i}}); in RegisterInputArgExpansion() 155 for (const string& placeholder : placeholders) { in ExpandFunctionDefInput() local 156 graph_def_inputs->push_back(placeholder); in ExpandFunctionDefInput() 240 const InputArgPlaceholder& placeholder = is_input_placeholder->second; in AsFunctionDefInput() local 242 absl::StrCat(placeholder.input_name, ":", placeholder.input_index); in AsFunctionDefInput() [all …]
|