/external/autotest/client/site_tests/touch_HasInput/ |
H A D | touch_HasInput.py | 13 def run_once(self, input_type=''): 16 @param input_type: a string representing the required input type. See 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/autotest/client/site_tests/touch_WakeupSource/ |
H A D | touch_WakeupSource.py | 27 def _find_wakeup_file(self, input_type): 33 @param input_type: e.g. 'touchpad' or 'mouse'. See parent class for 36 @raises: TestError if input_type lacks required information. 39 device_dir = self.player.devices[input_type].device_dir 41 raise error.TestError('No device directory for %s!' % input_type) 45 logging.info('%s not found for %s', filename, input_type) 48 event = self.player.devices[input_type].node.split('/')[-1] 61 logging.info('Could not find parent bus for %s.', input_type) 64 logging.info('Parent bus of %s is %s.', input_type, parent) 72 def _is_wake_source(self, input_type) [all...] |
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
H A D | unary_ops.cc | 56 b->Mul(XlaHelpers::FloatLiteral(b, input_type(0), 2.0), 57 b->Atan2(b->Pow(b->Sub(XlaHelpers::One(b, input_type(0)), 59 XlaHelpers::FloatLiteral(b, input_type(0), 0.5)), 60 b->Add(XlaHelpers::One(b, input_type(0)), x)))); 66 XlaHelpers::One(b, input_type(0))), 67 XlaHelpers::FloatLiteral(b, input_type(0), 0.5))))); 72 b->Mul(XlaHelpers::FloatLiteral(b, input_type(0), 2.0), 73 b->Atan2(x, b->Add(XlaHelpers::One(b, input_type(0)), 74 b->Pow(b->Sub(XlaHelpers::One(b, input_type(0)), 76 XlaHelpers::FloatLiteral(b, input_type( [all...] |
H A D | elu_op.cc | 36 const auto zero = XlaHelpers::Zero(b, input_type(0)); 37 const auto one = XlaHelpers::One(b, input_type(0)); 51 const auto zero = XlaHelpers::Zero(b, input_type(0)); 52 const auto one = XlaHelpers::One(b, input_type(0)); 70 const auto zero = XlaHelpers::Zero(b, input_type(0)); 71 const auto one = XlaHelpers::One(b, input_type(0)); 72 const auto scale = XlaHelpers::FloatLiteral(b, input_type(0), 74 const auto scale_alpha = XlaHelpers::FloatLiteral(b, input_type(0), 90 const auto zero = XlaHelpers::Zero(b, input_type(0)); 91 const auto one = XlaHelpers::One(b, input_type( [all...] |
H A D | relu_op.cc | 36 auto zero = XlaHelpers::Zero(builder, input_type(0)); 47 auto zero = XlaHelpers::Zero(builder, input_type(0)); 48 auto six = XlaHelpers::IntegerLiteral(builder, input_type(0), 6); 62 b->Broadcast(XlaHelpers::Zero(b, input_type(0)), shape.dim_sizes()); 77 b->Broadcast(XlaHelpers::Zero(b, input_type(0)), shape.dim_sizes()); 79 XlaHelpers::IntegerLiteral(b, input_type(0), 6), shape.dim_sizes());
|
H A D | cwise_ops.h | 39 const DataType lhs = BaseType(input_type(0)); 40 const DataType rhs = BaseType(input_type(1));
|
H A D | categorical_op.cc | 65 DataTypeToPrimitiveType(input_type(0), &uniform_xla_type)); 69 XlaHelpers::Zero(builder, input_type(0)), 70 XlaHelpers::One(builder, input_type(0)), uniform_shape); 85 input_type(0), output_type(0), /*axis=*/2, &argmax));
|
H A D | batch_norm_op.cc | 44 xla::PrimitiveType input_type; variable 46 DataTypeToPrimitiveType(ctx->input_type(0), &input_type)); 49 DataTypeToPrimitiveType(ctx->input_type(1), &scale_type)); 71 builder->GetTupleElement(output, 0), input_type)); 85 ctx->SetOutput(0, builder->ConvertElementType(output, input_type)); 133 DataType input_dtype = ctx->input_type(0); 134 DataType scale_dtype = ctx->input_type(2); 135 xla::PrimitiveType input_type; variable 136 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(input_dtype, &input_type)); [all...] |
H A D | lrn_ops.cc | 52 squared, XlaHelpers::Zero(builder, input_type(0)), 53 *ctx->GetOrCreateAdd(input_type(0)), 135 squared, XlaHelpers::Zero(builder, input_type(0)), 136 *ctx->GetOrCreateAdd(input_type(0)), 150 dy, XlaHelpers::Zero(builder, input_type(0)), 151 *ctx->GetOrCreateAdd(input_type(0)),
|
/external/autotest/client/cros/input_playback/ |
H A D | keyboard.py | 21 self.keyboard.emulate(input_type=_KEYBOARD) 36 input_type=_KEYBOARD) 45 input_type=_KEYBOARD)
|
H A D | input_playback.py | 18 def __init__(self, input_type): 19 self.input_type = input_type # e.g. 'touchpad' 29 s = '%s:' % self.input_type 109 def has(self, input_type): 112 @param input_type: string of type, e.g. 'touchpad' 115 return input_type in self.devices 123 def emulate(self, input_type='mouse', property_file=None): 134 @param input_type: 'mouse' or 'keyboard' to use default property files. 140 new_device = Device(input_type) [all...] |
/external/autotest/client/site_tests/touch_UpdateErrors/ |
H A D | touch_UpdateErrors.py | 81 def _check_updates(self, input_type): 84 @param input_type: string of input type, e.g. 'touchpad' 89 hw_id = self.player.devices[input_type].hw_id 91 raise error.TestError('%s has no valid hw_id!' % input_type) 120 def run_once(self, input_type='touchpad'): 122 if not self.player.has(input_type): 123 raise error.TestError('No %s found on this device!' % input_type) 130 self._check_updates(input_type)
|
/external/tensorflow/tensorflow/core/kernels/ |
H A D | sequence_ops_test.cc | 33 void MakeOp(DataType input_type) { argument 35 .Input(FakeInput(input_type)) 36 .Input(FakeInput(input_type)) 37 .Input(FakeInput(input_type)) 45 void MakeOp(DataType input_type, DataType index_type) { argument 47 .Input(FakeInput(input_type)) 48 .Input(FakeInput(input_type))
|
H A D | cwise_ops_common.cc | 41 DataTypeIsInteger(ctx->op_kernel().input_type(0))) { 44 DataTypeIsInteger(ctx->op_kernel().input_type(0)) && 45 DataTypeIsSigned(ctx->op_kernel().input_type(1))) {
|
/external/tensorflow/tensorflow/contrib/lite/toco/ |
H A D | toco_cmdline_flags.cc | 70 Flag("input_type", parsed_flags.input_type.bind(), 71 parsed_flags.input_type.default_value(), 177 if (parsed_toco_flags.input_type.specified()) { 179 << "--input_type is deprecated. It was an ambiguous flag that set both " 185 toco::IODataType input_type; local 186 QCHECK(toco::IODataType_Parse(parsed_toco_flags.input_type.value(), 187 &input_type)); 188 toco_flags->set_inference_input_type(input_type); 204 toco::IODataType input_type; local [all...] |
/external/adhd/cras/src/tests/ |
H A D | audio_test_gui.py | 73 line = '<input type ="radio" name="input_type" value="' 77 html += """<input type ="radio" id="i0" name="input_type" 113 var input_type = 114 document.forms['routerOptions']['input_type'].value; 117 if (input_type == '' || output_type == '') { 121 if (input_type == 'file' && output_type == 'file') { 126 if (input_type == 'file') { 157 document.forms['routerOptions']['input_type']; 171 def start_test(self, input_type, output_type, input_file='', 173 """Capture audio from the input_type an [all...] |
/external/autotest/client/site_tests/platform_InputVolume/ |
H A D | platform_InputVolume.py | 30 self._player.emulate(input_type='keyboard') 43 input_type='keyboard', filename='keyboard_f9') 61 input_type='keyboard', filename='keyboard_f10') 77 input_type='keyboard', filename='keyboard_f8')
|
/external/autotest/client/site_tests/platform_InputNewTab/ |
H A D | platform_InputNewTab.py | 26 self._player.emulate(input_type='keyboard') 32 input_type='keyboard', filename='keyboard_ctrl+t') 38 input_type='keyboard', filename='keyboard_ctrl+w')
|
/external/autotest/client/cros/ |
H A 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): 77 @param input_type: device type, e.g. 'touchpad' 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] [all...] |
/external/perfetto/src/ipc/protoc_plugin/ |
H A D | ipc_generator.cc | 133 std::string input_type = method.input_type()->name(); local 135 function(method, input_type, output_type); 151 const std::string& input_type, 159 method.name(), "i", input_type, "o", output_type); 167 const std::string& input_type, 175 method.name(), "i", input_type, "o", output_type); 200 const std::string& input_type, 202 printer->Print(kCppMethodDescriptor, "c", svc.name(), "i", input_type, "o", 213 const std::string& input_type, [all...] |
/external/tensorflow/tensorflow/contrib/lite/kernels/ |
H A D | concatenation.cc | 51 TfLiteType input_type = t0->type; local 61 input_type == kTfLiteFloat32 || input_type == kTfLiteUInt8); 69 TF_LITE_ENSURE_EQ(context, t->type, input_type); 70 if (input_type == kTfLiteUInt8) { 89 TF_LITE_ENSURE_EQ(context, output->type, input_type); 90 if (input_type == kTfLiteUInt8) {
|
/external/autotest/client/cros/a11y/ |
H A D | a11y_test_base.py | 28 self._player.emulate(input_type='keyboard') 45 input_type='keyboard', filename='keyboard_ctrl+alt+z') 54 input_type='keyboard',
|
/external/autotest/client/site_tests/audio_AlsaLoopback/ |
H A D | audio_AlsaLoopback.py | 48 (output_type, input_type) = cras_utils.get_selected_node_types() 49 if 'MIC' not in input_type: 50 raise error.TestFail("Wrong input type=%s", input_type)
|
/external/autotest/client/site_tests/platform_InputBrightness/ |
H A D | platform_InputBrightness.py | 29 self._player.emulate(input_type='keyboard') 43 input_type='keyboard', filename='keyboard_f6') 61 input_type='keyboard', filename='keyboard_f7')
|
/external/autotest/client/site_tests/policy_KeyboardDefaultToFunctionKeys/ |
H A D | policy_KeyboardDefaultToFunctionKeys.py | 34 self.player.emulate(input_type='keyboard') 59 input_type='keyboard', filename='keyboard_enter') 70 input_type='keyboard', filename='keyboard_' + keys)
|