/external/tensorflow/tensorflow/core/kernels/mlir_generated/ |
D | base_gpu_op.h | 26 #define REGISTER_ALIASED_GPU_KERNEL(tf_op, mlir_op, input_type, output_type) \ argument 27 REGISTER_ALIASED_KERNEL(tf_op, mlir_op, GPU, input_type, output_type, \ 31 #define REGISTER_GPU_KERNEL(tf_op, input_type, output_type) \ argument 32 REGISTER_KERNEL(tf_op, GPU, input_type, output_type, /*no additional_cstrs*/) 35 #define REGISTER_COMPLEX_GPU_KERNEL(tf_op, input_type, output_type) \ argument 36 REGISTER_COMPLEX_KERNEL(tf_op, GPU, input_type, output_type) 38 #define REGISTER_GPU_KERNEL_NO_TYPE_CONSTRAINT(tf_op, input_type) \ argument 39 REGISTER_KERNEL_NO_TYPE_CONSTRAINT(tf_op, GPU, input_type) 43 #define GENERATE_AND_REGISTER_UNARY_GPU_KERNEL(tf_op, input_type) \ argument 44 GENERATE_AND_REGISTER_UNARY_KERNEL(tf_op, GPU, input_type, \ [all …]
|
D | base_op.h | 140 #define MLIR_FUNCTION(tf_op, platform, input_type, output_type) \ argument 141 _mlir_ciface_##tf_op##_##platform##_##input_type##_##output_type 143 #define MLIR_OP(tf_op, platform, input_type, output_type) \ argument 144 Mlir##tf_op##platform##input_type##output_type##Op 148 #define REGISTER_ALIASED_KERNEL(tf_op, mlir_op, platform, input_type, \ argument 153 .TypeConstraint<typename EnumToDataType<input_type>::Type>("T") \ 155 MLIR_OP(mlir_op, platform, input_type, output_type)); 157 #define REGISTER_KERNEL(tf_op, platform, input_type, output_type, \ argument 159 REGISTER_ALIASED_KERNEL(tf_op, tf_op, platform, input_type, output_type, \ 162 #define REGISTER_COMPLEX_KERNEL(tf_op, platform, input_type, output_type) \ argument [all …]
|
/external/angle/third_party/spirv-tools/src/source/val/ |
D | validate_conversion.cpp | 42 const uint32_t input_type = _.GetOperandTypeId(inst, 2); in ConversionPass() local 43 if (!input_type || (!_.IsFloatScalarType(input_type) && in ConversionPass() 44 !_.IsFloatVectorType(input_type) && in ConversionPass() 45 !_.IsFloatCooperativeMatrixType(input_type) && in ConversionPass() 46 !_.IsFloatCooperativeVectorNVType(input_type))) in ConversionPass() 52 _.IsCooperativeVectorNVType(input_type)) { in ConversionPass() 54 _.CooperativeVectorDimensionsMatch(inst, result_type, input_type); in ConversionPass() 57 _.IsCooperativeMatrixType(input_type)) { in ConversionPass() 59 _.CooperativeMatrixShapesMatch(inst, result_type, input_type, true); in ConversionPass() 62 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/val/ |
D | validate_conversion.cpp | 41 const uint32_t input_type = _.GetOperandTypeId(inst, 2); in ConversionPass() local 42 if (!input_type || (!_.IsFloatScalarType(input_type) && in ConversionPass() 43 !_.IsFloatVectorType(input_type) && in ConversionPass() 44 !_.IsFloatCooperativeMatrixType(input_type))) in ConversionPass() 50 _.IsCooperativeMatrixType(input_type)) { in ConversionPass() 52 _.CooperativeMatrixShapesMatch(inst, result_type, input_type, true); in ConversionPass() 55 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 71 const uint32_t input_type = _.GetOperandTypeId(inst, 2); in ConversionPass() local 72 if (!input_type || (!_.IsFloatScalarType(input_type) && in ConversionPass() 73 !_.IsFloatVectorType(input_type) && in ConversionPass() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_conversion.cpp | 41 const uint32_t input_type = _.GetOperandTypeId(inst, 2); in ConversionPass() local 42 if (!input_type || (!_.IsFloatScalarType(input_type) && in ConversionPass() 43 !_.IsFloatVectorType(input_type) && in ConversionPass() 44 !_.IsFloatCooperativeMatrixType(input_type))) in ConversionPass() 50 _.IsCooperativeMatrixType(input_type)) { in ConversionPass() 52 _.CooperativeMatrixShapesMatch(inst, result_type, input_type); in ConversionPass() 55 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 71 const uint32_t input_type = _.GetOperandTypeId(inst, 2); in ConversionPass() local 72 if (!input_type || (!_.IsFloatScalarType(input_type) && in ConversionPass() 73 !_.IsFloatVectorType(input_type) && in ConversionPass() [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/lite/experimental/tac/transforms/ |
D | device_transform_patterns.cc | 154 RankedTensorType input_type, int split_dim, in SliceOutputs() argument 166 for (int d = 0; d < input_type.getRank(); ++d) { in SliceOutputs() 210 auto input_type = pack_inputs[0].getType().dyn_cast<RankedTensorType>(); in matchAndRewrite() local 211 if (!input_type) return failure(); in matchAndRewrite() 217 const int rank = input_type.getRank(); in matchAndRewrite() 226 int dim_size = input_type.getDimSize(i); in matchAndRewrite() 239 pack_out_shape.push_back(input_type.getDimSize(j)); in matchAndRewrite() 248 RankedTensorType::get(concat_out_shape, input_type.getElementType()); in matchAndRewrite() 253 InsertReshapeOp(pack_op.getLoc(), concat_op, input_type.getElementType(), in matchAndRewrite() 291 auto input_type = input.getType().dyn_cast<RankedTensorType>(); in matchAndRewrite() local [all …]
|
D | cost_model.cc | 62 auto input_type = input.getType().dyn_cast_or_null<RankedTensorType>(); in GetTransferredTensorBytes() local 63 if (input_type == nullptr || !input_type.hasStaticShape()) continue; in GetTransferredTensorBytes() 65 if (IsQUI8Type(input_type) || IsQI8Type(input_type)) { in GetTransferredTensorBytes() 66 total_size_transferred += input_type.getNumElements() * 8; in GetTransferredTensorBytes() 68 total_size_transferred += input_type.cast<ShapedType>().getSizeInBits(); in GetTransferredTensorBytes() 82 auto input_type = input.getType().dyn_cast_or_null<RankedTensorType>(); in GetTransferredElementCount() local 83 if (input_type == nullptr || !input_type.hasStaticShape()) continue; in GetTransferredElementCount() 84 total_element_count += input_type.getNumElements(); in GetTransferredElementCount()
|
/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 110 def has(self, input_type): argument 116 return input_type in self.devices 124 def emulate(self, input_type='mouse', property_file=None): argument 141 new_device = Device(input_type) 148 if input_type not in self._DEFAULT_PROPERTY_FILES: 150 'type %s' % input_type) 153 current_dir, self._DEFAULT_PROPERTY_FILES[input_type]) [all …]
|
/external/angle/third_party/abseil-cpp/absl/random/internal/ |
D | wide_multiply.h | 41 using input_type = UIntType; member 44 static result_type multiply(input_type a, input_type b) { in multiply() 48 static input_type hi(result_type r) { in hi() 49 return static_cast<input_type>(r >> kN); in hi() 51 static input_type lo(result_type r) { return static_cast<input_type>(r); } in lo() 80 using input_type = uint128; 83 static result_type multiply(input_type a, input_type b) { 87 static input_type hi(result_type r) { return r.hi; } 88 static input_type lo(result_type r) { return r.lo; }
|
/external/cronet/stable/third_party/abseil-cpp/absl/random/internal/ |
D | wide_multiply.h | 41 using input_type = UIntType; member 44 static result_type multiply(input_type a, input_type b) { in multiply() 48 static input_type hi(result_type r) { in hi() 49 return static_cast<input_type>(r >> kN); in hi() 51 static input_type lo(result_type r) { return static_cast<input_type>(r); } in lo() 80 using input_type = uint128; 83 static result_type multiply(input_type a, input_type b) { 87 static input_type hi(result_type r) { return r.hi; } 88 static input_type lo(result_type r) { return r.lo; }
|
/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/ |
D | wide_multiply.h | 41 using input_type = UIntType; member 44 static result_type multiply(input_type a, input_type b) { in multiply() 48 static input_type hi(result_type r) { in hi() 49 return static_cast<input_type>(r >> kN); in hi() 51 static input_type lo(result_type r) { return static_cast<input_type>(r); } in lo() 81 using input_type = uint128; 84 static result_type multiply(input_type a, input_type b) { 88 static input_type hi(result_type r) { return r.hi; } 89 static input_type lo(result_type r) { return r.lo; }
|
/external/abseil-cpp/absl/random/internal/ |
D | wide_multiply.h | 41 using input_type = UIntType; member 44 static result_type multiply(input_type a, input_type b) { in multiply() 48 static input_type hi(result_type r) { in hi() 49 return static_cast<input_type>(r >> kN); in hi() 51 static input_type lo(result_type r) { return static_cast<input_type>(r); } in lo() 81 using input_type = uint128; 84 static result_type multiply(input_type a, input_type b) { 88 static input_type hi(result_type r) { return r.hi; } 89 static input_type lo(result_type r) { return r.lo; }
|
/external/cronet/tot/third_party/abseil-cpp/absl/random/internal/ |
D | wide_multiply.h | 41 using input_type = UIntType; member 44 static result_type multiply(input_type a, input_type b) { in multiply() 48 static input_type hi(result_type r) { in hi() 49 return static_cast<input_type>(r >> kN); in hi() 51 static input_type lo(result_type r) { return static_cast<input_type>(r); } in lo() 80 using input_type = uint128; 83 static result_type multiply(input_type a, input_type b) { 87 static input_type hi(result_type r) { return r.hi; } 88 static input_type lo(result_type r) { return r.lo; }
|
/external/autotest/client/site_tests/touch_WakeupSource/ |
D | touch_WakeupSource.py | 48 def _find_wakeup_file(self, input_type): argument 60 device_dir = self.player.devices[input_type].device_dir 62 raise error.TestError('No device directory for %s!' % input_type) 66 logging.info('%s not found for %s', filename, input_type) 69 event = self.player.devices[input_type].node.split('/')[-1] 82 logging.info('Could not find parent bus for %s.', input_type) 85 logging.info('Parent bus of %s is %s.', input_type, parent) 93 def _is_wake_source(self, input_type): argument 104 filename = self._find_wakeup_file(input_type) 110 logging.info('Found that %s is a wake source.', input_type) [all …]
|
/external/perfetto/src/trace_processor/perfetto_sql/stdlib/chrome/ |
D | input.sql | 26 input_type STRING, field 39 extract_arg(thread_slice.arg_set_id, 'chrome_latency_info.input_type') AS input_type, 59 …row_number() OVER (PARTITION BY latency_id, utid, step, input_type ORDER BY ts DESC) AS ordering_w… 69 input_type, 84 input_type STRING field 90 min(input_type) AS input_type field 114 input_type STRING, field 125 chrome_inputs.input_type AS input_type, field 131 chrome_inputs.input_type IS NOT NULL; 172 step = 'STEP_SEND_INPUT_EVENT_UI' AND input_type = 'GESTURE_SCROLL_UPDATE_EVENT' [all …]
|
/external/cronet/tot/base/tracing/stdlib/chrome/ |
D | input.sql | 23 input_type STRING, field 34 EXTRACT_ARG(thread_slice.arg_set_id, 'chrome_latency_info.input_type') AS input_type, field 48 input_type STRING field 54 MIN(input_type) as input_type field 76 input_type STRING, field 87 chrome_inputs.input_type AS input_type, field 94 WHERE chrome_inputs.input_type IS NOT NULL; 128 AND scroll_update_step.input_type = 'GESTURE_SCROLL_UPDATE_EVENT' 146 chrome_input_pipeline_steps.input_type = 'TOUCH_MOVE_EVENT'
|
/external/cronet/stable/base/tracing/stdlib/chrome/ |
D | input.sql | 23 input_type STRING, field 34 EXTRACT_ARG(thread_slice.arg_set_id, 'chrome_latency_info.input_type') AS input_type, field 48 input_type STRING field 54 MIN(input_type) as input_type field 76 input_type STRING, field 87 chrome_inputs.input_type AS input_type, field 94 WHERE chrome_inputs.input_type IS NOT NULL; 128 AND scroll_update_step.input_type = 'GESTURE_SCROLL_UPDATE_EVENT' 146 chrome_input_pipeline_steps.input_type = 'TOUCH_MOVE_EVENT'
|
/external/tensorflow/tensorflow/python/distribute/ |
D | input_lib_test.py | 65 input_type, argument 75 if input_type == "input_fn": 104 input_type, argument 110 if input_type == "dataset": 161 input_type, argument 177 if api_type == "wrap_into_iterator" and input_type == "input_fn": 185 input_type, 195 input_type, 274 def _create_dataset_or_input_fn(self, input_type, input_fn): argument 275 if input_type == "input_fn": [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | modify_io_nodes.cc | 44 explicit ModifyIONodesPass(mlir::Type input_type, mlir::Type output_type) { in ModifyIONodesPass() 45 this->input_type = input_type; in ModifyIONodesPass() 68 mlir::Type input_type; member 74 if (input_type && output_type) return success(); in SetupInputOutputTypesIfNull() 88 if (!input_type) input_type = convert_str_to_type(io_node_types_[0]); in SetupInputOutputTypesIfNull() 96 if (input_type.isa<FloatType>()) { in ModifyInputNodes() 114 if (current_type == input_type) { // int8 == int8 in ModifyInputNodes() 118 } else if (input_type.isUnsignedInteger( in ModifyInputNodes() 125 input_type.print(llvm::errs() << "Requested input type "); in ModifyInputNodes() 232 Type input_type, Type output_type) { in CreateModifyIONodesPass() argument [all …]
|
/external/autotest/client/cros/ |
D | touch_playback_test_base.py | 67 self.player.emulate(input_type='mouse', property_file=mouse_props) 77 def _find_test_files(self, input_type, gestures): argument 96 if not self.player.has(input_type): 97 raise error.TestError('Device does not have a %s!' % input_type) 99 if input_type in ['touchpad', 'touchscreen', 'stylus']: 100 hw_id = self.player.devices[input_type].hw_id 102 raise error.TestError('No valid hw_id for %s!' % input_type) 103 filename_fmt = '%s_%s_%s' % (self._platform, input_type, hw_id) 106 device_name = self.player.devices[input_type].name 107 filename_fmt = '%s_%s' % (device_name, input_type) [all …]
|
/external/tensorflow/tensorflow/lite/tools/optimize/ |
D | quantize_model.h | 45 ModelT* input_model, const TensorType& input_type, 54 ModelT* input_model, const TensorType& input_type, 63 ModelT* input_model, const TensorType& input_type, 73 ModelT* model, const TensorType& input_type, 85 const TensorType& input_type, const TensorType& output_type, 94 const TensorType& input_type, const TensorType& output_type, 105 ModelT* model, const TensorType& input_type,
|
/external/rust/android-crates-io/crates/combine/src/ |
D | lib.rs | 327 ($input_type: ty) -> $output_type: ty 337 $fn_vis fn $name [$($type_params)*]($($arg : $arg_type),*)($input_type) -> $output_type 348 ($input_type: ty) -> $output_type: ty 357 $fn_vis fn $name [$($type_params)*]($($arg : $arg_type),*)($input_type) -> $output_type 365 ($input_type: ty) -> $output_type: ty 375 $fn_vis fn $name [$($type_params)*]($($arg : $arg_type),*)($input_type) -> $output_type 385 ($input_type: ty) -> $output_type: ty 394 $fn_vis fn $name [$($type_params)*]($($arg : $arg_type),*)($input_type) -> $output_type 424 ($input_type: ty) -> $output_type: ty 431 where <$input_type as $crate::stream::StreamOnce>::Error: [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/ |
D | legalize_common.cc | 145 RankedTensorType input_type = in convertPackOp() local 147 if (!input_type) { in convertPackOp() 152 input_type = inputs[0].getType().dyn_cast<RankedTensorType>(); in convertPackOp() 153 if (!input_type) { in convertPackOp() 157 ArrayRef<int64_t> input0_tensor_shape = input_type.getShape(); in convertPackOp() 161 input_type = inputs[0].getType().dyn_cast<RankedTensorType>(); in convertPackOp() 162 if (!input_type) { in convertPackOp() 168 ArrayRef<int64_t> next_tensor_shape = input_type.getShape(); in convertPackOp() 313 RankedTensorType input_type = in convertUnpackOp() local 315 if (!input_type) return llvm::None; in convertUnpackOp() [all …]
|
/external/grpc-grpc/src/compiler/ |
D | php_generator.cc | 69 const Descriptor* input_type = method->input_type(); in PrintMethod() local 75 MessageIdentifierName(GeneratedClassName(input_type), input_type->file()); in PrintMethod() 140 const Descriptor* input_type = method->input_type(); in PrintServerMethod() local 145 MessageIdentifierName(GeneratedClassName(input_type), input_type->file()); in PrintServerMethod() 248 auto input_type = method->input_type(); in PrintServerMethodDescriptors() local 251 GeneratedClassName(input_type), input_type->file()); in PrintServerMethodDescriptors()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | concatenation.cc | 130 TfLiteType input_type = t0->type; in Prepare() local 137 input_type == kTfLiteFloat32 || input_type == kTfLiteUInt8 || in Prepare() 138 input_type == kTfLiteInt8 || input_type == kTfLiteInt16 || in Prepare() 139 input_type == kTfLiteInt32 || input_type == kTfLiteInt64 || in Prepare() 140 input_type == kTfLiteBool); in Prepare() 149 TF_LITE_ENSURE_EQ(context, t->type, input_type); in Prepare() 170 TF_LITE_ENSURE_TYPES_EQ(context, output->type, input_type); in Prepare() 172 if (input_type == kTfLiteInt8) { in Prepare() 185 if (input_type == kTfLiteInt16) { in Prepare()
|