/external/deqp-deps/SPIRV-Tools/source/val/ |
D | validate_conversion.cpp | 40 const uint32_t input_type = _.GetOperandTypeId(inst, 2); in ConversionPass() local 41 if (!input_type || (!_.IsFloatScalarType(input_type) && in ConversionPass() 42 !_.IsFloatVectorType(input_type))) in ConversionPass() 47 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 66 const uint32_t input_type = _.GetOperandTypeId(inst, 2); in ConversionPass() local 67 if (!input_type || (!_.IsFloatScalarType(input_type) && in ConversionPass() 68 !_.IsFloatVectorType(input_type))) in ConversionPass() 73 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 94 const uint32_t input_type = _.GetOperandTypeId(inst, 2); in ConversionPass() local 95 if (!input_type || in ConversionPass() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_conversion.cpp | 40 const uint32_t input_type = _.GetOperandTypeId(inst, 2); in ConversionPass() local 41 if (!input_type || (!_.IsFloatScalarType(input_type) && in ConversionPass() 42 !_.IsFloatVectorType(input_type))) in ConversionPass() 47 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 66 const uint32_t input_type = _.GetOperandTypeId(inst, 2); in ConversionPass() local 67 if (!input_type || (!_.IsFloatScalarType(input_type) && in ConversionPass() 68 !_.IsFloatVectorType(input_type))) in ConversionPass() 73 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 94 const uint32_t input_type = _.GetOperandTypeId(inst, 2); in ConversionPass() local 95 if (!input_type || in ConversionPass() [all …]
|
/external/tensorflow/tensorflow/contrib/distribute/python/ |
D | input_lib_test.py | 38 def _create_iterator(self, input_type, dataset_fn, worker_device_pairs, argument 43 if input_type == "input_fn": 61 input_type, argument 69 input_type, dataset_fn, worker_device_pairs, devices, split_batch_by) 104 input_type=["input_fn", "dataset"])) 105 def testOneDeviceCPU(self, input_type): argument 111 self._test_iterator(input_type, dataset_fn, worker_device_pairs, 116 input_type=["input_fn", "dataset"], 118 def testTwoDevicesOneGPUOneCPU(self, input_type): argument 124 self._test_iterator(input_type, dataset_fn, worker_device_pairs, [all …]
|
/external/autotest/client/cros/input_playback/ |
D | input_playback.py | 18 def __init__(self, input_type): argument 19 self.input_type = input_type # e.g. 'touchpad' 29 s = '%s:' % self.input_type 109 def has(self, input_type): argument 115 return input_type in self.devices 123 def emulate(self, input_type='mouse', property_file=None): argument 140 new_device = Device(input_type) 147 if input_type not in self._DEFAULT_PROPERTY_FILES: 149 'type %s' % input_type) 152 current_dir, self._DEFAULT_PROPERTY_FILES[input_type]) [all …]
|
/external/autotest/client/site_tests/touch_WakeupSource/ |
D | touch_WakeupSource.py | 33 def _find_wakeup_file(self, input_type): argument 45 device_dir = self.player.devices[input_type].device_dir 47 raise error.TestError('No device directory for %s!' % input_type) 51 logging.info('%s not found for %s', filename, input_type) 54 event = self.player.devices[input_type].node.split('/')[-1] 67 logging.info('Could not find parent bus for %s.', input_type) 70 logging.info('Parent bus of %s is %s.', input_type, parent) 78 def _is_wake_source(self, input_type): argument 89 filename = self._find_wakeup_file(input_type) 95 logging.info('Found that %s is a wake source.', input_type) [all …]
|
/external/autotest/client/cros/ |
D | touch_playback_test_base.py | 61 self.player.emulate(input_type='mouse', property_file=mouse_props) 71 def _find_test_files(self, input_type, gestures): argument 90 if not self.player.has(input_type): 91 raise error.TestError('Device does not have a %s!' % input_type) 93 if input_type in ['touchpad', 'touchscreen', 'stylus']: 94 hw_id = self.player.devices[input_type].hw_id 96 raise error.TestError('No valid hw_id for %s!' % input_type) 97 filename_fmt = '%s_%s_%s' % (self._platform, input_type, hw_id) 100 device_name = self.player.devices[input_type].name 101 filename_fmt = '%s_%s' % (device_name, input_type) [all …]
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | elu_op.cc | 35 const auto zero = XlaHelpers::Zero(b, input_type(0)); in Compile() 49 const auto zero = XlaHelpers::Zero(b, input_type(0)); in Compile() 50 const auto one = XlaHelpers::One(b, input_type(0)); in Compile() 68 const auto zero = XlaHelpers::Zero(b, input_type(0)); in Compile() 69 const auto scale = XlaHelpers::FloatLiteral(b, input_type(0), in Compile() 71 const auto scale_alpha = XlaHelpers::FloatLiteral(b, input_type(0), in Compile() 87 const auto zero = XlaHelpers::Zero(b, input_type(0)); in Compile() 88 const auto scale = XlaHelpers::FloatLiteral(b, input_type(0), in Compile() 90 const auto scale_alpha = XlaHelpers::FloatLiteral(b, input_type(0), in Compile()
|
D | reduction_ops.cc | 34 XlaHelpers::SumAccumulationType(ctx->input_type(0))) {} in SumOp() 51 XlaHelpers::SumAccumulationType(ctx->input_type(0))) {} in ProdOp() 69 : XlaReductionOp(ctx, ctx->input_type(0)) {} in MinOp() 87 : XlaReductionOp(ctx, ctx->input_type(0)) {} in MaxOp() 106 XlaHelpers::SumAccumulationType(ctx->input_type(0))) {} in MeanOp() 130 input_type(0)); in BuildFinalizer() 140 : XlaReductionOp(ctx, ctx->input_type(0)) {} in AllOp() 158 : XlaReductionOp(ctx, ctx->input_type(0)) {} in AnyOp()
|
D | relu_op.cc | 34 auto zero = XlaHelpers::Zero(builder, input_type(0)); in Compile() 46 auto zero = XlaHelpers::Zero(builder, input_type(0)); in Compile() 47 auto six = XlaHelpers::IntegerLiteral(builder, input_type(0), 6); in Compile() 77 xla::Broadcast(XlaHelpers::Zero(b, input_type(0)), shape.dim_sizes()); in Compile() 93 xla::Broadcast(XlaHelpers::Zero(b, input_type(0)), shape.dim_sizes()); in Compile() 95 XlaHelpers::IntegerLiteral(b, input_type(0), 6), shape.dim_sizes()); in Compile()
|
D | batch_norm_op.cc | 43 xla::PrimitiveType input_type; in Compile() local 45 DataTypeToPrimitiveType(ctx->input_type(0), &input_type)); in Compile() 48 DataTypeToPrimitiveType(ctx->input_type(1), &scale_type)); in Compile() 68 input_type)); in Compile() 93 ctx->SetOutput(0, xla::ConvertElementType(output, input_type)); in Compile() 127 DataType input_dtype = ctx->input_type(0); in Compile() 128 DataType scale_dtype = ctx->input_type(2); in Compile()
|
D | binary_ops.cc | 80 DivNoNanImpl(b, input_type(0), lhs, rhs, broadcast_helper)); 98 MulNoNanImpl(b, input_type(0), lhs, rhs, broadcast_helper)); 129 FloorDivImpl(b, input_type(0), lhs, rhs, broadcast_helper)); 161 FloorModImpl(b, input_type(0), lhs, rhs, broadcast_helper)); 169 (DataTypeIsUnsigned(ctx->input_type(0)) 183 xla::Div(rhs, XlaHelpers::IntegerLiteral(b, input_type(0), -2)), 187 xla::Div(xla::Mul(rhs, XlaHelpers::FloatLiteral(b, input_type(0), 0.5)), 207 xla::Sub(XlaHelpers::One(b, input_type(0)), lhs))); 211 XlaHelpers::One(b, input_type(1))))); 216 xla::Square(xla::Add(XlaHelpers::One(b, input_type(0)), [all …]
|
/external/perfetto/src/ipc/protoc_plugin/ |
D | ipc_generator.cc | 133 std::string input_type = method.input_type()->name(); in ForEachMethod() local 135 function(method, input_type, output_type); in ForEachMethod() 151 const std::string& input_type, in GenerateServiceHeader() 159 method.name(), "i", input_type, "o", output_type); in GenerateServiceHeader() 167 const std::string& input_type, in GenerateServiceHeader() argument 175 method.name(), "i", input_type, "o", output_type); in GenerateServiceHeader() 200 const std::string& input_type, in GenerateServiceCpp() 202 printer->Print(kCppMethodDescriptor, "c", svc.name(), "i", input_type, "o", in GenerateServiceCpp() 213 const std::string& input_type, in GenerateServiceCpp() argument 216 input_type, "o", output_type); in GenerateServiceCpp()
|
/external/autotest/client/site_tests/touch_UpdateErrors/ |
D | touch_UpdateErrors.py | 81 def _check_updates(self, input_type): argument 89 hw_id = self.player.devices[input_type].hw_id 91 raise error.TestError('%s has no valid hw_id!' % input_type) 117 def run_once(self, input_type='touchpad'): argument 119 if not self.player.has(input_type): 120 raise error.TestError('No %s found on this device!' % input_type) 127 self._check_updates(input_type)
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | concatenation.cc | 50 TfLiteType input_type = t0->type; in Prepare() local 60 input_type == kTfLiteFloat32 || input_type == kTfLiteUInt8 || in Prepare() 61 input_type == kTfLiteInt8 || input_type == kTfLiteInt16 || in Prepare() 62 input_type == kTfLiteInt32 || input_type == kTfLiteInt64); in Prepare() 70 TF_LITE_ENSURE_EQ(context, t->type, input_type); in Prepare() 86 TF_LITE_ENSURE_EQ(context, output->type, input_type); in Prepare() 88 if (input_type == kTfLiteInt8) { in Prepare()
|
D | split.cc | 78 auto input_type = op_context.input->type; in Prepare() local 80 input_type == kTfLiteFloat32 || input_type == kTfLiteUInt8 || in Prepare() 81 input_type == kTfLiteInt8 || input_type == kTfLiteInt16 || in Prepare() 82 input_type == kTfLiteInt32); in Prepare() 84 GetOutput(context, node, i)->type = input_type; in Prepare()
|
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/ |
D | rx-coordination.hpp | 48 typedef Input input_type; typedef in rxcpp::coordinator 56 typedef decltype((*(input_type*)nullptr).in((*(Observable*)nullptr))) type; 62 typedef decltype((*(input_type*)nullptr).out((*(Subscriber*)nullptr))) type; 68 typedef decltype((*(input_type*)nullptr).act((*(F*)nullptr))) type; 72 input_type input; 118 class input_type class in rxcpp::identity_one_worker 123 explicit input_type(rxsc::worker w) in input_type() function in rxcpp::identity_one_worker::input_type 158 typedef coordinator<input_type> coordinator_type; 166 return coordinator_type(input_type(std::move(w))); in create_coordinator() 245 class input_type class in rxcpp::serialize_one_worker [all …]
|
/external/v8/src/compiler/ |
D | typed-optimization.cc | 120 Type const input_type = NodeProperties::GetType(input); in ReduceCheckHeapObject() local 121 if (!input_type.Maybe(Type::SignedSmall())) { in ReduceCheckHeapObject() 130 Type const input_type = NodeProperties::GetType(input); in ReduceCheckNotTaggedHole() local 131 if (!input_type.Maybe(Type::Hole())) { in ReduceCheckNotTaggedHole() 167 Type const input_type = NodeProperties::GetType(input); in ReduceCheckNumber() local 168 if (input_type.Is(Type::Number())) { in ReduceCheckNumber() 177 Type const input_type = NodeProperties::GetType(input); in ReduceCheckString() local 178 if (input_type.Is(Type::String())) { in ReduceCheckString() 232 Type const input_type = NodeProperties::GetType(input); in ReduceNumberFloor() local 233 if (input_type.Is(type_cache_.kIntegerOrMinusZeroOrNaN)) { in ReduceNumberFloor() [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | sequence_ops_test.cc | 33 void MakeOp(DataType input_type) { in MakeOp() argument 35 .Input(FakeInput(input_type)) in MakeOp() 36 .Input(FakeInput(input_type)) in MakeOp() 37 .Input(FakeInput(input_type)) in MakeOp() 45 void MakeOp(DataType input_type, DataType index_type) { in MakeOp() argument 47 .Input(FakeInput(input_type)) in MakeOp() 48 .Input(FakeInput(input_type)) in MakeOp()
|
D | debug_ops_test.cc | 42 Status Init(DataType input_type, const std::vector<string>& debug_urls) { in Init() argument 46 .Input(FakeInput(input_type)) in Init() 53 Status Init(DataType input_type) { in Init() argument 55 return Init(input_type, empty_debug_urls); in Init() 180 Status Init(DataType input_type) { in Init() argument 182 .Input(FakeInput(input_type)) in Init() 243 Status Init(DataType input_type) { in Init() argument 245 .Input(FakeInput(input_type)) in Init() 251 Status InitGated(DataType input_type, const std::vector<string>& debug_urls) { in InitGated() argument 253 .Input(FakeInput(input_type)) in InitGated() [all …]
|
/external/autotest/client/site_tests/touch_HasInput/ |
D | touch_HasInput.py | 13 def run_once(self, input_type=''): argument 20 if not input_type: 23 if not self.player.has(input_type): 24 raise error.TestFail('Device does not have a %s!' % input_type)
|
/external/tensorflow/tensorflow/lite/toco/ |
D | toco_cmdline_flags.cc | 89 Flag("input_type", parsed_flags.input_type.bind(), in ParseTocoFlagsFromCommandLineFlags() 90 parsed_flags.input_type.default_value(), in ParseTocoFlagsFromCommandLineFlags() 282 if (parsed_toco_flags.input_type.specified()) { in ReadTocoFlagsFromCommandLineFlags() 290 toco::IODataType input_type; in ReadTocoFlagsFromCommandLineFlags() local 291 QCHECK(toco::IODataType_Parse(parsed_toco_flags.input_type.value(), in ReadTocoFlagsFromCommandLineFlags() 292 &input_type)); in ReadTocoFlagsFromCommandLineFlags() 293 toco_flags->set_inference_input_type(input_type); in ReadTocoFlagsFromCommandLineFlags() 309 toco::IODataType input_type; in ReadTocoFlagsFromCommandLineFlags() local 310 QCHECK(toco::IODataType_Parse(input_types[0], &input_type)); in ReadTocoFlagsFromCommandLineFlags() 311 toco_flags->set_inference_input_type(input_type); in ReadTocoFlagsFromCommandLineFlags()
|
/external/autotest/client/site_tests/platform_PrintJob/ |
D | platform_PrintJob.py | 34 self._player.emulate(input_type='keyboard') 48 input_type='keyboard', filename='keyboard_ctrl+p') 55 input_type='keyboard', filename='keyboard_tab') 61 input_type='keyboard', filename='keyboard_down') 67 input_type='keyboard', filename='keyboard_shift+tab') 73 input_type='keyboard', filename='keyboard_enter')
|
/external/mesa3d/src/compiler/nir/ |
D | nir_constant_expressions.py | 31 for input_type in op.input_types: 32 if not type_has_size(input_type): 34 sizes = set(type_sizes(input_type)) 36 sizes = sizes.intersection(set(type_sizes(input_type)))
|
/external/tensorflow/tensorflow/contrib/specs/python/ |
D | summaries.py | 248 input_type=dtypes.float32): argument 268 inputs = array_ops.placeholder(input_type, input_shape) 276 input_type=dtypes.float32): argument 292 inputs = array_ops.placeholder(input_type, input_shape) 300 input_type=dtypes.float32): argument 311 inputs = array_ops.placeholder(input_type, input_shape)
|
/external/grpc-grpc/src/compiler/ |
D | node_generator.cc | 102 const Descriptor* input_type = method->input_type(); in GetAllMessages() local 104 message_types[input_type->full_name()] = input_type; in GetAllMessages() 160 const Descriptor* input_type = method->input_type(); in PrintMethod() local 165 vars["input_type"] = NodeObjectPath(input_type); in PrintMethod() 166 vars["input_type_id"] = MessageIdentifierName(input_type->full_name()); in PrintMethod()
|