Home
last modified time | relevance | path

Searched refs:input_type (Results 1 – 25 of 225) sorted by relevance

123456789

/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_conversion.cpp40 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/
Dvalidate_conversion.cpp40 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/
Dinput_lib_test.py38 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/
Dinput_playback.py18 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/
Dtouch_WakeupSource.py33 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/
Dtouch_playback_test_base.py61 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/
Delu_op.cc35 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()
Dreduction_ops.cc34 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()
Drelu_op.cc34 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()
Dbatch_norm_op.cc43 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()
Dbinary_ops.cc80 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/
Dipc_generator.cc133 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/
Dtouch_UpdateErrors.py81 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/
Dconcatenation.cc50 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()
Dsplit.cc78 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/
Drx-coordination.hpp48 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/
Dtyped-optimization.cc120 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/
Dsequence_ops_test.cc33 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()
Ddebug_ops_test.cc42 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/
Dtouch_HasInput.py13 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/
Dtoco_cmdline_flags.cc89 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/
Dplatform_PrintJob.py34 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/
Dnir_constant_expressions.py31 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/
Dsummaries.py248 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/
Dnode_generator.cc102 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()

123456789