/external/deqp-deps/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') 128 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') 129 output = placeholder.TempFileName('output.spv') 186 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') 187 output = placeholder.TempFileName('output.spv') 233 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') 234 output = placeholder.TempFileName('output.spv') 274 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') [all …]
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/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') 128 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') 129 output = placeholder.TempFileName('output.spv') 186 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') 187 output = placeholder.TempFileName('output.spv') 233 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') 234 output = placeholder.TempFileName('output.spv') 274 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') [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') 128 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') 129 output = placeholder.TempFileName('output.spv') 186 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') 187 output = placeholder.TempFileName('output.spv') 233 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') 234 output = placeholder.TempFileName('output.spv') 274 shader = placeholder.FileSPIRVShader(empty_main_assembly(), '.spvasm') [all …]
|
/external/tensorflow/tensorflow/core/transforms/toposort/tests/ |
D | toposort.mlir | 7 // CHECK-NEXT: %[[PLACEHOLDER0:.*]], %{{.*}} = placeholder name("placeholder0") 8 // CHECK-NEXT: %[[PLACEHOLDER1:.*]], %{{.*}} = placeholder name("placeholder1") 10 %placeholder, %ctl = placeholder name("placeholder0") : () -> (tensor<*xi32>) 11 …%AddV2, %ctl_0 = AddV2(%placeholder, %placeholder_1) name("add") : (tensor<*xi32>, tensor<*xi32>) … 12 %placeholder_1, %ctl_2 = placeholder name("placeholder1") : () -> (tensor<*xi32>) 24 // CHECK-NEXT: %[[PLACEHOLDER1:.*]], %{{.*}} = placeholder name("placeholder1") 25 // CHECK-NEXT: %[[PLACEHOLDER0:.*]], %{{.*}} = placeholder name("placeholder0") 28 …%AddV2, %ctl_0 = AddV2(%placeholder, %Merge) name("add") : (tensor<*xi32>, tensor<*xi32>) -> (tens… 31 %placeholder_2, %ctl_3 = placeholder name("placeholder1") : () -> (tensor<*xi32>) 32 %placeholder, %ctl = placeholder name("placeholder0") : () -> (tensor<*xi32>) [all …]
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | slice_ops_test.py | 30 i = array_ops.placeholder(dtype, shape=[10]) 43 i = array_ops.placeholder(dtype, shape=[2]) 56 i = array_ops.placeholder(dtype, shape=[3, 3, 10]) 78 i = array_ops.placeholder(dtype, shape=[3, 3, 10]) 79 begin = array_ops.placeholder(dtypes.int32, shape=[3]) 102 i = array_ops.placeholder(dtype, shape=[3, 3, 10]) 103 begin = array_ops.placeholder(dtypes.int32, shape=[3]) 128 i = array_ops.placeholder(dtype, shape=[10]) 141 i = array_ops.placeholder(dtype, shape=[10]) 142 begin = array_ops.placeholder(dtypes.int32, shape=[1]) [all …]
|
D | image_ops_test.py | 53 batch0 = array_ops.placeholder(nptype, shape=shape) 77 placeholder = array_ops.placeholder(nptype) 79 hsv = image_ops.rgb_to_hsv(placeholder) 81 rgb_tf = rgb.eval(feed_dict={placeholder: rgb_np}) 96 placeholder = array_ops.placeholder(nptype) 98 hsv_op = image_ops.rgb_to_hsv(placeholder) 99 hsv_tf = hsv_op.eval(feed_dict={placeholder: rgb_np}) 107 x = array_ops.placeholder(x_np.dtype, shape=x_np.shape) 145 x = array_ops.placeholder(np.float32) 179 x = array_ops.placeholder(x_np.dtype, shape=x_shape) [all …]
|
D | xla_ops_test.py | 45 array_ops.placeholder(dtypes.as_dtype(arg.dtype), arg.shape) 688 a = array_ops.placeholder(np.float32, shape=(1, 2, 3, 4)) 689 b = array_ops.placeholder(np.float32, shape=(4, 5, 2, 6)) 701 a = array_ops.placeholder(np.float32, shape=(4, 4, 4, 4)) 702 b = array_ops.placeholder(np.float32, shape=(4, 4, 4, 4)) 715 a = array_ops.placeholder(np.float32, shape=(2, 2, 2, 2)) 716 b = array_ops.placeholder(np.float32, shape=(4, 4, 4, 4)) 727 a = array_ops.placeholder(np.float32, shape=(4, 4, 4, 4)) 728 b = array_ops.placeholder(np.float32, shape=(4, 4, 4, 4)) 741 a = array_ops.placeholder(np.float32, shape=(2, 2, 2, 2)) [all …]
|
D | spacetobatch_op_test.py | 75 placeholder = array_ops.placeholder(dtype) 77 placeholder, paddings, block_size=block_size) 78 self.assertAllEqual(sess.run(x_tf, {placeholder: inputs}), outputs) 81 placeholder, paddings, block_size=block_size) 82 self.assertAllEqual(sess.run(x_tf, {placeholder: outputs}), inputs) 194 placeholder = array_ops.placeholder(dtype) 196 x_tf = array_ops.space_to_batch_nd(placeholder, block_shape, 199 sess.run(x_tf, {placeholder: actual_inputs}), expected_outputs) 201 placeholder = array_ops.placeholder(dtype) 202 x_tf = array_ops.batch_to_space_nd(placeholder, block_shape, [all …]
|
D | fused_batchnorm_test.py | 107 t_val = array_ops.placeholder( 109 scale = array_ops.placeholder(np.float32, shape=scale_shape, name="scale") 110 offset = array_ops.placeholder( 154 t_val = array_ops.placeholder( 156 scale = array_ops.placeholder(np.float32, shape=scale_shape, name="scale") 157 offset = array_ops.placeholder( 163 old_mean = array_ops.placeholder( 165 old_var = array_ops.placeholder( 260 grad = array_ops.placeholder( 262 x = array_ops.placeholder( [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/data_structures/ |
D | map_stage_op_test.py | 39 x = array_ops.placeholder(dtypes.float32) 40 pi = array_ops.placeholder(dtypes.int64) 41 gi = array_ops.placeholder(dtypes.int64) 61 x = array_ops.placeholder(dtypes.float32) 62 pi = array_ops.placeholder(dtypes.int64) 63 gi = array_ops.placeholder(dtypes.int64) 84 x = array_ops.placeholder(dtypes.float32) 85 pi = array_ops.placeholder(dtypes.int64) 86 gi = array_ops.placeholder(dtypes.int64) 112 x = array_ops.placeholder(dtypes.float32) [all …]
|
/external/tensorflow/tensorflow/python/client/ |
D | session_partial_run_test.py | 33 a = array_ops.placeholder(dtypes.float32, shape=[]) 34 b = array_ops.placeholder(dtypes.float32, shape=[]) 35 c = array_ops.placeholder(dtypes.float32, shape=[]) 55 a = array_ops.placeholder(dtypes.float32, shape=[]) 56 b = array_ops.placeholder(dtypes.float32, shape=[]) 57 c = array_ops.placeholder(dtypes.float32, shape=[]) 66 a = array_ops.placeholder(dtypes.float32, shape=[]) 67 b = array_ops.placeholder(dtypes.float32, shape=[]) 68 c = array_ops.placeholder(dtypes.float32, shape=[]) 88 inputs.append(array_ops.placeholder(dtypes.float32, shape=[])) [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/strings_ops/ |
D | reduce_join_op_test.py | 236 placeholder = array_ops.placeholder(dtypes.string, name="placeholder") 237 reduced = string_ops.reduce_join(placeholder, axis=0) 238 output_array = reduced.eval(feed_dict={placeholder.name: input_array}) 250 placeholder = array_ops.placeholder(dtypes.int32, name="placeholder") 251 reduced = string_ops.reduce_join(input_array, axis=placeholder) 252 output_array_dim_zero = reduced.eval(feed_dict={placeholder.name: [0]}) 253 output_array_dim_one = reduced.eval(feed_dict={placeholder.name: [1]}) 329 placeholder = array_ops.placeholder(dtypes.string, name="placeholder") 330 index_too_high = string_ops.reduce_join(placeholder, axis=1) 331 duplicate_index = string_ops.reduce_join(placeholder, axis=[-1, 1]) [all …]
|
/external/tensorflow/tensorflow/compiler/aot/tests/ |
D | make_test_graphs.py | 50 x = array_ops.placeholder(dtypes.int32, name='x_hold') 65 x = array_ops.placeholder(dtypes.int32, name='x_hold') 84 x = array_ops.placeholder(dtypes.int32, name='x_hold') 85 y = array_ops.placeholder(dtypes.int32, name='y_hold') 92 p = array_ops.placeholder(dtypes.bool, name='p_hold') 93 x = array_ops.placeholder(dtypes.int32, name='x_hold') 94 y = array_ops.placeholder(dtypes.int32, name='y_hold') 100 params = array_ops.placeholder(dtypes.float32, name='params') 101 indices = array_ops.placeholder(dtypes.int32, name='indices') 106 x = array_ops.placeholder(dtypes.float32, name='x_hold') [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/array_ops/ |
D | batchtospace_op_test.py | 122 array_ops.placeholder(dtypes.float32), 123 array_ops.placeholder(dtypes.int32), 149 input_placeholder = array_ops.placeholder(dtypes.float32) 150 block_shape_placeholder = array_ops.placeholder( 152 paddings_placeholder = array_ops.placeholder(dtypes.int32) 199 array_ops.placeholder(dtypes.float32), 200 array_ops.placeholder( 202 array_ops.placeholder(dtypes.int32)) 206 array_ops.placeholder( 208 array_ops.placeholder( [all …]
|
/external/tensorflow/tensorflow/python/ops/ |
D | logging_ops.py | 126 placeholder = default_placeholder 128 while placeholder in x: 129 placeholder = placeholder + str(rng.randint(0, 9)) 130 return placeholder 337 placeholder = _generate_placeholder_string(tensor_free_template) 351 placeholder, placeholder, placeholder)) 354 placeholders.append(placeholder) 383 template = template.replace("'" + placeholder + "'", placeholder) 387 placeholder=placeholder,
|
/external/rust/crates/clap/src/output/ |
D | usage.rs | 84 styled.placeholder(" [OPTIONS]"); in create_help_usage() 93 let placeholder = self in create_help_usage() localVariable 108 styled.placeholder(" <"); in create_help_usage() 109 styled.placeholder(placeholder); in create_help_usage() 110 styled.placeholder(">"); in create_help_usage() 112 styled.placeholder(" <"); in create_help_usage() 113 styled.placeholder(placeholder); in create_help_usage() 114 styled.placeholder(">"); in create_help_usage() 116 styled.placeholder(" ["); in create_help_usage() 117 styled.placeholder(placeholder); in create_help_usage() [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/python/kernel_tests/v1_compat_tests/ |
D | array_ops_test.py | 32 data_t = array_ops.placeholder(dtypes.float32) 33 axis_known_t = array_ops.placeholder(dtypes.int32, shape=[3]) 38 axis_unknown_t = array_ops.placeholder(dtypes.int32) 42 data_2d_t = array_ops.placeholder(dtypes.float32, shape=[None, None]) 43 axis_2d_t = array_ops.placeholder(dtypes.int32, shape=[3]) 53 lengths = array_ops.placeholder(dtype=dtypes.int32) 65 indices = array_ops.placeholder(dtypes.int32)
|
/external/tensorflow/tensorflow/python/kernel_tests/math_ops/ |
D | tensordot_op_test.py | 56 a_ph = array_ops.placeholder(dtypes.float32) 57 b_ph = array_ops.placeholder(dtypes.float32) 58 axes_ph = array_ops.placeholder(dtypes.int32) 82 a_ph = array_ops.placeholder(dtypes.float32) 83 b_ph = array_ops.placeholder(dtypes.float32) 84 axes_ph = array_ops.placeholder(dtypes.int32) 115 a = array_ops.placeholder(dtypes.float32) 116 b = array_ops.placeholder(dtypes.float32) 127 a = array_ops.placeholder(dtypes.float32) 128 b = array_ops.placeholder(dtypes.float32) [all …]
|
D | confusion_matrix_test.py | 78 m_neg = array_ops.placeholder(dtype=dtypes.float32) 79 m_pos = array_ops.placeholder(dtype=dtypes.float32) 80 s = array_ops.placeholder(dtype=dtypes.float32) 252 labels_placeholder = array_ops.placeholder(dtype=dtypes.float32) 253 predictions_placeholder = array_ops.placeholder(dtype=dtypes.float32) 278 labels_placeholder = array_ops.placeholder(dtype=dtypes.int32) 279 predictions_placeholder = array_ops.placeholder(dtype=dtypes.int32) 304 labels_placeholder = array_ops.placeholder(dtype=dtypes.int32) 305 predictions_placeholder = array_ops.placeholder(dtype=dtypes.int32) 330 labels_placeholder = array_ops.placeholder(dtype=dtypes.int32) [all …]
|
/external/tensorflow/tensorflow/python/framework/ |
D | func_graph.py | 331 placeholder=None): argument 404 if placeholder is None: 411 return array_ops.placeholder(dtype=s.dtype, shape=s.shape) 413 placeholder = nest.map_structure( 466 self._deferred_captures[key] = (wrapped_closure, placeholder) 808 placeholder = _create_substitute_placeholder( 814 placeholder.op._set_attr( # pylint: disable=protected-access 817 self.add_capture(tensor, placeholder) 819 placeholder = capture[1] 821 "captured_value", [placeholder], [tensor], [all …]
|
/external/tensorflow/tensorflow/core/ir/tests/ |
D | ops.mlir | 8 // CHECK: %placeholder, %ctl = placeholder : () -> (tensor<*xi32>) 9 …// CHECK: %AddV2, %ctl_0 = AddV2(%placeholder, %placeholder_1) device("GPU") assigned_device("TPU"… 10 …// CHECK: %placeholder_1, %ctl_2 = placeholder device("CPU") name("foobar") : () -> (tensor<*xi32>) 11 %arg0, %ctl = "tfg.placeholder"() : () -> (tensor<*xi32>, !tf_type.control) 13 …%arg1, %ctl2 = "tfg.placeholder"() {"_mlir_device" = "CPU", _mlir_name = "foobar"} : () -> (tensor… 38 // CHECK: %placeholder:3, %ctl = placeholder : () -> (tensor<*xi32>, tensor<*xi32>, tensor<*xi32>) 39 %placeholder:3, %ctl0 = placeholder : () -> (tensor<*xi32>, tensor<*xi32>, tensor<*xi32>) 62 // CHECK: %placeholder, %ctl = placeholder : () -> (!tf_type.tensor) 63 %placeholder, %ctl0 = placeholder : () -> (!tf_type.tensor)
|