/external/tensorflow/tensorflow/lite/core/api/ |
D | op_resolver_test.cc | 87 const TfLiteRegistration* registration = in TEST() local 89 EXPECT_NE(nullptr, registration); in TEST() 90 EXPECT_EQ(nullptr, registration->init(nullptr, nullptr, 0)); in TEST() 91 EXPECT_EQ(kTfLiteOk, registration->prepare(nullptr, nullptr)); in TEST() 92 EXPECT_EQ(kTfLiteOk, registration->invoke(nullptr, nullptr)); in TEST() 94 registration = resolver->FindOp(BuiltinOperator_CAST, 0); in TEST() 95 EXPECT_EQ(nullptr, registration); in TEST() 97 registration = resolver->FindOp("mock_custom", 0); in TEST() 98 EXPECT_NE(nullptr, registration); in TEST() 99 EXPECT_EQ(nullptr, registration->init(nullptr, nullptr, 0)); in TEST() [all …]
|
D | op_resolver.cc | 27 ErrorReporter* error_reporter, const TfLiteRegistration** registration) { in GetRegistrationFromOpCode() argument 29 *registration = nullptr; in GetRegistrationFromOpCode() 42 *registration = op_resolver.FindOp(builtin_code, version); in GetRegistrationFromOpCode() 43 if (*registration == nullptr) { in GetRegistrationFromOpCode() 59 *registration = op_resolver.FindOp(name, version); in GetRegistrationFromOpCode() 60 if (*registration == nullptr) { in GetRegistrationFromOpCode()
|
/external/autotest/server/site_tests/firmware_Cr50U2fCommands/ |
D | firmware_Cr50U2fCommands.py | 240 registration = self.__u2f_generate(APP_ID, USER_SECRET_1, '00') 243 if registration['pubKey'] == registration_2['pubKey']: 246 if registration['keyHandle'] == registration_2['keyHandle']: 258 registration = self.__u2f_generate(APP_ID, USER_SECRET_1, '00') 262 self.__u2f_sign(APP_ID, USER_SECRET_1, registration['keyHandle'], 300 registration = self.__u2f_generate(APP_ID, USER_SECRET_1, '00') 307 self.__u2f_sign(APP_ID, USER_SECRET_1, registration['keyHandle'], 311 registration = self.__u2f_generate(APP_ID, USER_SECRET_1, '00') 315 self.__u2f_sign(APP_ID, USER_SECRET_1, registration['keyHandle'], 321 self.__u2f_sign(APP_ID, USER_SECRET_1, registration['keyHandle'], [all …]
|
/external/tensorflow/tensorflow/lite/delegates/coreml/builders/ |
D | op_validator.h | 24 bool IsConcatenationOpSupported(const TfLiteRegistration* registration, 26 bool IsConvolutionOpSupported(const TfLiteRegistration* registration, 28 bool IsDepthwiseConvolutionOpSupported(const TfLiteRegistration* registration, 31 bool IsFullyConnectedOpSupported(const TfLiteRegistration* registration, 34 bool IsMeanOpSupported(const TfLiteRegistration* registration, 36 bool IsMirrorPadOpSupported(const TfLiteRegistration* registration, 38 bool IsPadOpSupported(const TfLiteRegistration* registration, 40 bool IsReshapeOpSupported(const TfLiteRegistration* registration, 43 bool IsResizeBilinearOpSupported(const TfLiteRegistration* registration, 46 bool IsTransposeConvolutionOpSupported(const TfLiteRegistration* registration,
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | xla_cpu_device.cc | 59 XlaOpRegistry::DeviceRegistration registration; in CreateDevices() local 60 registration.compilation_device_name = DEVICE_CPU_XLA_JIT; in CreateDevices() 61 registration.autoclustering_policy = in CreateDevices() 65 registration.cluster_resource_variable_ops_unsafely = true; in CreateDevices() 66 registration.cluster_stack_ops = false; in CreateDevices() 67 registration.cluster_tensor_array_ops = true; in CreateDevices() 68 registration.cluster_stateful_rng_ops = true; in CreateDevices() 69 registration.cluster_control_trigger = true; in CreateDevices() 70 registration.elide_assert_and_checknumerics = true; in CreateDevices() 71 registration.cluster_variant_ops = true; in CreateDevices() [all …]
|
D | xla_gpu_device.cc | 103 XlaOpRegistry::DeviceRegistration registration; in CreateDevices() local 104 registration.compilation_device_name = DEVICE_GPU_XLA_JIT; in CreateDevices() 105 registration.autoclustering_policy = in CreateDevices() 107 registration.cluster_resource_variable_ops_unsafely = true; in CreateDevices() 108 registration.cluster_stack_ops = false; in CreateDevices() 109 registration.cluster_tensor_array_ops = true; in CreateDevices() 110 registration.cluster_stateful_rng_ops = true; in CreateDevices() 111 registration.cluster_control_trigger = true; in CreateDevices() 112 registration.elide_assert_and_checknumerics = true; in CreateDevices() 113 registration.cluster_variant_ops = true; in CreateDevices() [all …]
|
/external/tensorflow/tensorflow/lite/ |
D | util_test.cc | 98 TfLiteRegistration registration; in TEST() local 99 registration.builtin_code = tflite::BuiltinOperator_ADD; in TEST() 100 const auto op_name = GetOpNameByRegistration(registration); in TEST() 105 TfLiteRegistration registration; in TEST() local 106 registration.builtin_code = -1; in TEST() 107 const auto op_name = GetOpNameByRegistration(registration); in TEST() 112 TfLiteRegistration registration; in TEST() local 113 registration.builtin_code = tflite::BuiltinOperator_CUSTOM; in TEST() 114 registration.custom_name = "TestOp"; in TEST() 115 auto op_name = GetOpNameByRegistration(registration); in TEST() [all …]
|
D | mutable_op_resolver.cc | 40 const TfLiteRegistration* registration, in AddBuiltin() argument 42 TfLiteRegistration new_registration = *registration; in AddBuiltin() 51 const TfLiteRegistration* registration, in AddBuiltin() argument 54 AddBuiltin(op, registration, version); in AddBuiltin() 59 const TfLiteRegistration* registration, in AddCustom() argument 61 TfLiteRegistration new_registration = *registration; in AddCustom() 70 const TfLiteRegistration* registration, in AddCustom() argument 73 AddCustom(name, registration, version); in AddCustom()
|
D | util.cc | 159 bool IsUnresolvedCustomOp(const TfLiteRegistration& registration) { in IsUnresolvedCustomOp() argument 160 return registration.builtin_code == tflite::BuiltinOperator_CUSTOM && in IsUnresolvedCustomOp() 161 registration.invoke == &UnresolvedOpInvoke; in IsUnresolvedCustomOp() 164 std::string GetOpNameByRegistration(const TfLiteRegistration& registration) { in GetOpNameByRegistration() argument 165 auto op = registration.builtin_code; in GetOpNameByRegistration() 169 registration.custom_name) { in GetOpNameByRegistration() 170 result += " " + std::string(registration.custom_name); in GetOpNameByRegistration()
|
/external/tensorflow/tensorflow/lite/micro/ |
D | micro_interpreter.cc | 36 const char* OpNameFromRegistration(const TfLiteRegistration* registration) { in OpNameFromRegistration() argument 37 if (registration->builtin_code == BuiltinOperator_CUSTOM) { in OpNameFromRegistration() 38 return registration->custom_name; in OpNameFromRegistration() 40 return EnumNameBuiltinOperator(BuiltinOperator(registration->builtin_code)); in OpNameFromRegistration() 149 const TfLiteRegistration* registration = in ~MicroInterpreter() local 150 node_and_registrations_[i].registration; in ~MicroInterpreter() 153 if (registration != nullptr && registration->free != nullptr) { in ~MicroInterpreter() 154 registration->free(&context_, node->user_data); in ~MicroInterpreter() 205 auto* registration = node_and_registrations_[i].registration; in AllocateTensors() local 208 if (registration->builtin_code == BuiltinOperator_CUSTOM) { in AllocateTensors() [all …]
|
D | micro_mutable_op_resolver_test.cc | 87 const TfLiteRegistration* registration = in TF_LITE_MICRO_TEST() local 89 TF_LITE_MICRO_EXPECT(nullptr == registration); in TF_LITE_MICRO_TEST() 91 registration = resolver->FindOp("mock_custom"); in TF_LITE_MICRO_TEST() 92 TF_LITE_MICRO_EXPECT(nullptr != registration); in TF_LITE_MICRO_TEST() 93 TF_LITE_MICRO_EXPECT(nullptr == registration->init(nullptr, nullptr, 0)); in TF_LITE_MICRO_TEST() 94 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->prepare(nullptr, nullptr)); in TF_LITE_MICRO_TEST() 95 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->invoke(nullptr, nullptr)); in TF_LITE_MICRO_TEST() 97 registration = resolver->FindOp("nonexistent_custom"); in TF_LITE_MICRO_TEST() 98 TF_LITE_MICRO_EXPECT(nullptr == registration); in TF_LITE_MICRO_TEST()
|
D | micro_mutable_op_resolver.h | 48 const TfLiteRegistration& registration = registrations_[i]; in FindOp() local 49 if (registration.builtin_code == op) { in FindOp() 50 return ®istration; in FindOp() 58 const TfLiteRegistration& registration = registrations_[i]; in FindOp() local 59 if ((registration.builtin_code == BuiltinOperator_CUSTOM) && in FindOp() 60 (strcmp(registration.custom_name, op) == 0)) { in FindOp() 61 return ®istration; in FindOp() 82 TfLiteStatus AddCustom(const char* name, TfLiteRegistration* registration) { in AddCustom() argument 106 *new_registration = *registration; in AddCustom() 197 TfLiteRegistration* registration = tflite::Register_ETHOSU(); in AddEthosU() local [all …]
|
/external/tensorflow/tensorflow/lite/micro/kernels/ |
D | conv_test_common.cc | 24 TfLiteRegistration registration, T* output_data) { in InvokeConv() argument 30 micro::KernelRunner runner(registration, tensors, tensors_size, inputs_array, in InvokeConv() 46 TfLiteRegistration registration, in ValidateConvGoldens() argument 49 conv_params, registration, output_data); in ValidateConvGoldens() 62 TfLiteRegistration registration, float* output_data) { in InvokeConv() argument 64 registration, output_data); in InvokeConv() 69 TfLiteRegistration registration, int8_t* output_data) { in InvokeConv() argument 71 registration, output_data); in InvokeConv() 76 TfLiteRegistration registration, uint8_t* output_data) { in InvokeConv() argument 78 registration, output_data); in InvokeConv() [all …]
|
D | conv_test.h | 31 TfLiteRegistration registration, float* output_data); 35 TfLiteRegistration registration, int8_t* output_data); 39 TfLiteRegistration registration, uint8_t* output_data); 45 TfLiteRegistration registration, 52 TfLiteRegistration registration, 59 TfLiteRegistration registration, 68 TfLiteRegistration registration, float* output_data); 77 TfLiteConvParams* conv_params, TfLiteRegistration registration, 89 TfLiteRegistration registration, int8_t* output_data);
|
/external/tensorflow/tensorflow/lite/micro/kernels/arc_mli/ |
D | pooling_slicing_test.cc | 64 const TfLiteRegistration* registration = in TestAveragePoolingQuantized() local 66 TF_LITE_MICRO_EXPECT_NE(nullptr, registration); in TestAveragePoolingQuantized() 73 if (registration->init) { in TestAveragePoolingQuantized() 74 user_data = registration->init(&context, init_data, init_data_size); in TestAveragePoolingQuantized() 93 if (registration->prepare) { in TestAveragePoolingQuantized() 94 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->prepare(&context, &node)); in TestAveragePoolingQuantized() 96 TF_LITE_MICRO_EXPECT_NE(nullptr, registration->invoke); in TestAveragePoolingQuantized() 97 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->invoke(&context, &node)); in TestAveragePoolingQuantized() 98 if (registration->free) { in TestAveragePoolingQuantized() 99 registration->free(&context, user_data); in TestAveragePoolingQuantized() [all …]
|
/external/autotest/client/common_lib/cros/fake_device_server/ |
D | registration_tickets_unittest.py | 39 self.registration = registration_tickets.RegistrationTickets( 49 self.registration.POST, 1234, 'finalize') 57 returned_json = self.registration.POST(1234, 'finalize') 70 return_value='Bearer %s' % self.registration.TEST_ACCESS_TOKEN) 71 returned_json = self.registration.POST() 80 returned_json = self.registration.GET(1234) 85 self.registration.GET, 1235) 97 returned_json = self.registration.PATCH(1234) 110 returned_json = self.registration.PUT(12345) 122 self.registration.PUT, 12345)
|
/external/rust/crates/tokio/src/io/ |
D | poll_evented.rs | 70 registration: Registration, 116 let registration = Registration::new_with_interest_and_handle(&mut io, interest, handle)?; in new_with_interest_and_handle() localVariable 119 registration, in new_with_interest_and_handle() 129 pub(crate) fn registration(&self) -> &Registration { in registration() method 130 &self.registration in registration() 137 self.registration.deregister(&mut inner)?; in into_inner() 160 let n = ready!(self.registration.poll_read_io(cx, || { 177 self.registration.poll_write_io(cx, || self.io.as_ref().unwrap().write(buf)) 190 self.registration.poll_write_io(cx, || self.io.as_ref().unwrap().write_vectored(bufs)) 213 let _ = self.registration.deregister(&mut io); in drop()
|
D | async_fd.rs | 140 registration: Registration, field 199 let registration = in new_with_handle_and_interest() localVariable 203 registration, in new_with_handle_and_interest() 224 let _ = self.registration.deregister(&mut SourceFd(&fd)); in take_inner() 267 let event = ready!(self.registration.poll_read_ready(cx))?; in poll_read_ready() 305 let event = ready!(self.registration.poll_read_ready(cx))?; in poll_read_ready_mut() 345 let event = ready!(self.registration.poll_write_ready(cx))?; in poll_write_ready() 383 let event = ready!(self.registration.poll_write_ready(cx))?; in poll_write_ready_mut() 393 let event = self.registration.readiness(interest).await?; in readiness() 405 let event = self.registration.readiness(interest).await?; in readiness_mut() [all …]
|
/external/chromium-trace/catapult/third_party/polymer/components/webcomponentsjs/ |
D | MutationObserver.js | 108 registrations.forEach(function(registration) { argument 109 if (registration.observer === observer) registration.removeTransientObservers(); 118 var registration = registrations[j]; 119 var options = registration.options; 122 if (record) registration.enqueue(record); 142 var registration; 145 registration = registrations[i]; 146 registration.removeListeners(); 147 registration.options = options; 151 if (!registration) { [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/ |
D | model_builder.cc | 176 const TfLiteRegistration* registration) final { in IsSupported() argument 177 RETURN_IF_ERROR(CheckMaxSupportedOpVersion(registration, 2)); in IsSupported() 188 const TfLiteRegistration* registration, in Parse() argument 210 const TfLiteRegistration* registration) final { in IsSupported() argument 216 const TfLiteRegistration* registration, in Parse() argument 231 const TfLiteRegistration* registration) final { in IsSupported() argument 232 RETURN_IF_ERROR(CheckMaxSupportedOpVersion(registration, 2)); in IsSupported() 245 const TfLiteRegistration* registration, in Parse() argument 348 const TfLiteRegistration* registration) final { in IsSupported() argument 349 RETURN_IF_ERROR(CheckMaxSupportedOpVersion(registration, 5)); in IsSupported() [all …]
|
D | model_builder_test.cc | 162 TfLiteRegistration* registration(int index) { in registration() function in tflite::gpu::__anona5beb0730111::DelegatedInterpreter 309 TfLiteRegistration** registration) { in TEST() argument 311 *registration = interpreter_fp16_add_op->registration(node_index); in TEST() 341 TfLiteRegistration* registration = nullptr; in TEST() local 343 ®istration); in TEST() 368 TfLiteRegistration** registration) { in TEST() argument 370 *registration = interpreter_fp16_non_constant->registration(node_index); in TEST() 399 TfLiteRegistration* registration = nullptr; in TEST() local 401 ®istration); in TEST() 431 TfLiteRegistration** registration) { in TEST() argument [all …]
|
/external/perfetto/ui/src/frontend/ |
D | service_worker_controller.ts | 94 navigator.serviceWorker.register(swUri).then(registration => { 95 this._initialWorker = registration.active; 102 this.monitorWorker(registration.installing); 103 this.monitorWorker(registration.active); 106 registration.addEventListener('updatefound', () => { 107 this.monitorWorker(registration.installing);
|
/external/rust/crates/tokio/src/net/unix/datagram/ |
D | socket.rs | 161 let event = self.io.registration().readiness(interest).await?; in ready() 519 .registration() in send() 564 .registration() in try_send() 610 .registration() in try_send_to() 642 .registration() in recv() 693 .registration() in try_recv() 740 let (n, addr) = self.io.registration().try_io(Interest::READABLE, || { 803 self.io.registration().try_io(Interest::READABLE, || { 859 .registration() in send_to() 900 .registration() in recv_from() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/coreml/ |
D | coreml_delegate.mm | 38 bool IsNodeSupportedByDelegate(const TfLiteRegistration* registration, const TfLiteNode* node, 46 if (registration->version > 1) { 47 switch (registration->builtin_code) { 49 if (registration->version > 2) return false; 53 if (registration->version > 6) return false; 64 if (registration->builtin_code == kTfLiteBuiltinTransposeConv) { 78 switch (registration->builtin_code) { 81 delegates::coreml::IsBinaryOpSupported(registration, node, context); 88 return delegates::coreml::IsConcatenationOpSupported(registration, node, context); 91 return delegates::coreml::IsConvolutionOpSupported(registration, node, context); [all …]
|
/external/rust/crates/tokio/src/net/ |
D | udp.rs | 380 let event = self.io.registration().readiness(interest).await?; in ready() 465 .registration() in send() 495 .registration() in poll_send() 549 .registration() in try_send() 638 .registration() in recv() 667 let n = ready!(self.io.registration().poll_read_io(cx, || { in poll_recv() 736 .registration() in try_recv() 789 self.io.registration().try_io(Interest::READABLE, || { 853 self.io.registration().try_io(Interest::READABLE, || { 937 .registration() in poll_send_to() [all …]
|