/external/tensorflow/tensorflow/lite/core/api/ |
D | op_resolver_test.cc | 86 const TfLiteRegistration* registration = in TEST() local 88 EXPECT_NE(nullptr, registration); in TEST() 89 EXPECT_EQ(nullptr, registration->init(nullptr, nullptr, 0)); in TEST() 90 EXPECT_EQ(kTfLiteOk, registration->prepare(nullptr, nullptr)); in TEST() 91 EXPECT_EQ(kTfLiteOk, registration->invoke(nullptr, nullptr)); in TEST() 93 registration = resolver->FindOp(BuiltinOperator_CAST, 0); in TEST() 94 EXPECT_EQ(nullptr, registration); in TEST() 96 registration = resolver->FindOp("mock_custom", 0); in TEST() 97 EXPECT_NE(nullptr, registration); in TEST() 98 EXPECT_EQ(nullptr, registration->init(nullptr, nullptr, 0)); in TEST() [all …]
|
/external/autotest/server/site_tests/firmware_Cr50U2fCommands/ |
D | firmware_Cr50U2fCommands.py | 236 registration = self.__u2f_generate(APP_ID, USER_SECRET_1, '00') 239 if registration['pubKey'] == registration_2['pubKey']: 242 if registration['keyHandle'] == registration_2['keyHandle']: 246 registration = self.__u2f_generate(APP_ID, USER_SECRET_1, '00') 250 self.__u2f_sign(APP_ID, USER_SECRET_1, registration['keyHandle'], 288 registration = self.__u2f_generate(APP_ID, USER_SECRET_1, '00') 295 self.__u2f_sign(APP_ID, USER_SECRET_1, registration['keyHandle'], 299 registration = self.__u2f_generate(APP_ID, USER_SECRET_1, '00') 303 self.__u2f_sign(APP_ID, USER_SECRET_1, registration['keyHandle'], 309 self.__u2f_sign(APP_ID, USER_SECRET_1, registration['keyHandle'], [all …]
|
/external/tensorflow/tensorflow/lite/micro/kernels/ |
D | activations_test.cc | 45 const TfLiteRegistration* registration = in TestReluFloat() local 47 TF_LITE_MICRO_EXPECT_NE(nullptr, registration); in TestReluFloat() 52 if (registration->init) { in TestReluFloat() 53 user_data = registration->init(&context, init_data, init_data_size); in TestReluFloat() 69 if (registration->prepare) { in TestReluFloat() 70 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->prepare(&context, &node)); in TestReluFloat() 72 TF_LITE_MICRO_EXPECT_NE(nullptr, registration->invoke); in TestReluFloat() 73 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->invoke(&context, &node)); in TestReluFloat() 74 if (registration->free) { in TestReluFloat() 75 registration->free(&context, user_data); in TestReluFloat() [all …]
|
D | pack_test.cc | 54 const TfLiteRegistration* registration = in TestPackTwoInputsFloat() local 56 TF_LITE_MICRO_EXPECT_NE(nullptr, registration); in TestPackTwoInputsFloat() 64 if (registration->init) { in TestPackTwoInputsFloat() 65 user_data = registration->init(&context, nullptr, 0); in TestPackTwoInputsFloat() 81 if (registration->prepare) { in TestPackTwoInputsFloat() 82 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->prepare(&context, &node)); in TestPackTwoInputsFloat() 84 TF_LITE_MICRO_EXPECT_NE(nullptr, registration->invoke); in TestPackTwoInputsFloat() 86 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->invoke(&context, &node)); in TestPackTwoInputsFloat() 87 if (registration->free) { in TestPackTwoInputsFloat() 88 registration->free(&context, user_data); in TestPackTwoInputsFloat() [all …]
|
D | unpack_test.cc | 69 const TfLiteRegistration* registration = in TestUnpackThreeOutputsFloat() local 71 TF_LITE_MICRO_EXPECT_NE(nullptr, registration); in TestUnpackThreeOutputsFloat() 79 if (registration->init) { in TestUnpackThreeOutputsFloat() 80 user_data = registration->init(&context, nullptr, 0); in TestUnpackThreeOutputsFloat() 96 if (registration->prepare) { in TestUnpackThreeOutputsFloat() 97 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->prepare(&context, &node)); in TestUnpackThreeOutputsFloat() 99 TF_LITE_MICRO_EXPECT_NE(nullptr, registration->invoke); in TestUnpackThreeOutputsFloat() 101 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->invoke(&context, &node)); in TestUnpackThreeOutputsFloat() 102 if (registration->free) { in TestUnpackThreeOutputsFloat() 103 registration->free(&context, user_data); in TestUnpackThreeOutputsFloat() [all …]
|
D | softmax_test.cc | 47 const TfLiteRegistration* registration = in TestSoftmaxFloat() local 49 TF_LITE_MICRO_EXPECT_NE(nullptr, registration); in TestSoftmaxFloat() 55 if (registration->init) { in TestSoftmaxFloat() 56 user_data = registration->init(&context, init_data, init_data_size); in TestSoftmaxFloat() 74 if (registration->prepare) { in TestSoftmaxFloat() 75 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->prepare(&context, &node)); in TestSoftmaxFloat() 77 TF_LITE_MICRO_EXPECT_NE(nullptr, registration->invoke); in TestSoftmaxFloat() 78 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->invoke(&context, &node)); in TestSoftmaxFloat() 79 if (registration->free) { in TestSoftmaxFloat() 80 registration->free(&context, user_data); in TestSoftmaxFloat() [all …]
|
D | elementwise_test.cc | 50 const TfLiteRegistration* registration = in TestElementwiseFloat() local 52 TF_LITE_MICRO_EXPECT_NE(nullptr, registration); in TestElementwiseFloat() 55 if (registration->init) { in TestElementwiseFloat() 56 user_data = registration->init(&context, nullptr, 0); in TestElementwiseFloat() 76 if (registration->prepare) { in TestElementwiseFloat() 77 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->prepare(&context, &node)); in TestElementwiseFloat() 79 TF_LITE_MICRO_EXPECT_NE(nullptr, registration->invoke); in TestElementwiseFloat() 81 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->invoke(&context, &node)); in TestElementwiseFloat() 82 if (registration->free) { in TestElementwiseFloat() 83 registration->free(&context, user_data); in TestElementwiseFloat() [all …]
|
D | prelu_test.cc | 48 const TfLiteRegistration* registration = in TestPreluFloat() local 50 TF_LITE_MICRO_EXPECT_NE(nullptr, registration); in TestPreluFloat() 54 if (registration->init) { in TestPreluFloat() 55 user_data = registration->init(&context, nullptr, init_data_size); in TestPreluFloat() 71 if (registration->prepare) { in TestPreluFloat() 72 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->prepare(&context, &node)); in TestPreluFloat() 74 TF_LITE_MICRO_EXPECT_NE(nullptr, registration->invoke); in TestPreluFloat() 75 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->invoke(&context, &node)); in TestPreluFloat() 76 if (registration->free) { in TestPreluFloat() 77 registration->free(&context, user_data); in TestPreluFloat() [all …]
|
D | split_test.cc | 67 const TfLiteRegistration* registration = in TestSplitTwoOutputsFloat() local 69 TF_LITE_MICRO_EXPECT_NE(nullptr, registration); in TestSplitTwoOutputsFloat() 76 if (registration->init) { in TestSplitTwoOutputsFloat() 77 user_data = registration->init(&context, nullptr, 0); in TestSplitTwoOutputsFloat() 93 if (registration->prepare) { in TestSplitTwoOutputsFloat() 94 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->prepare(&context, &node)); in TestSplitTwoOutputsFloat() 96 TF_LITE_MICRO_EXPECT_NE(nullptr, registration->invoke); in TestSplitTwoOutputsFloat() 98 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->invoke(&context, &node)); in TestSplitTwoOutputsFloat() 99 if (registration->free) { in TestSplitTwoOutputsFloat() 100 registration->free(&context, user_data); in TestSplitTwoOutputsFloat() [all …]
|
D | logistic_test.cc | 47 const TfLiteRegistration* registration = in TestLogisticFloat() local 49 TF_LITE_MICRO_EXPECT_NE(nullptr, registration); in TestLogisticFloat() 54 if (registration->init) { in TestLogisticFloat() 55 user_data = registration->init(&context, init_data, init_data_size); in TestLogisticFloat() 71 if (registration->prepare) { in TestLogisticFloat() 72 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->prepare(&context, &node)); in TestLogisticFloat() 74 TF_LITE_MICRO_EXPECT_NE(nullptr, registration->invoke); in TestLogisticFloat() 75 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->invoke(&context, &node)); in TestLogisticFloat() 76 if (registration->free) { in TestLogisticFloat() 77 registration->free(&context, user_data); in TestLogisticFloat()
|
D | maximum_minimum_test.cc | 52 const TfLiteRegistration* registration = resolver.FindOp(op, 1); in TestMaxMinFloat() local 53 TF_LITE_MICRO_EXPECT_NE(nullptr, registration); in TestMaxMinFloat() 69 if (registration->prepare) { in TestMaxMinFloat() 70 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->prepare(&context, &node)); in TestMaxMinFloat() 73 TF_LITE_MICRO_EXPECT_NE(nullptr, registration->invoke); in TestMaxMinFloat() 74 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->invoke(&context, &node)); in TestMaxMinFloat() 111 const TfLiteRegistration* registration = resolver.FindOp(op, 1); in TestMaxMinQuantized() local 112 TF_LITE_MICRO_EXPECT_NE(nullptr, registration); in TestMaxMinQuantized() 128 if (registration->prepare) { in TestMaxMinQuantized() 129 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->prepare(&context, &node)); in TestMaxMinQuantized() [all …]
|
D | dequantize_test.cc | 60 const TfLiteRegistration* registration = in TestDequantize() local 63 TF_LITE_MICRO_EXPECT_NE(nullptr, registration); in TestDequantize() 68 if (registration->init) { in TestDequantize() 69 user_data = registration->init(&context, init_data, init_data_size); in TestDequantize() 89 if (registration->prepare) { in TestDequantize() 90 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->prepare(&context, &node)); in TestDequantize() 92 TF_LITE_MICRO_EXPECT_NE(nullptr, registration->invoke); in TestDequantize() 93 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->invoke(&context, &node)); in TestDequantize() 95 if (registration->free) { in TestDequantize() 96 registration->free(&context, user_data); in TestDequantize()
|
D | quantize_test.cc | 59 const TfLiteRegistration* registration = in TestQuantize() local 62 TF_LITE_MICRO_EXPECT_NE(nullptr, registration); in TestQuantize() 67 if (registration->init) { in TestQuantize() 68 user_data = registration->init(&context, init_data, init_data_size); in TestQuantize() 88 if (registration->prepare) { in TestQuantize() 89 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->prepare(&context, &node)); in TestQuantize() 91 TF_LITE_MICRO_EXPECT_NE(nullptr, registration->invoke); in TestQuantize() 92 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->invoke(&context, &node)); in TestQuantize() 94 if (registration->free) { in TestQuantize() 95 registration->free(&context, user_data); in TestQuantize()
|
D | pooling_test.cc | 53 const TfLiteRegistration* registration = in TestAveragePoolingFloat() local 55 TF_LITE_MICRO_EXPECT_NE(nullptr, registration); in TestAveragePoolingFloat() 62 if (registration->init) { in TestAveragePoolingFloat() 63 user_data = registration->init(&context, init_data, init_data_size); in TestAveragePoolingFloat() 82 if (registration->prepare) { in TestAveragePoolingFloat() 83 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->prepare(&context, &node)); in TestAveragePoolingFloat() 85 TF_LITE_MICRO_EXPECT_NE(nullptr, registration->invoke); in TestAveragePoolingFloat() 86 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->invoke(&context, &node)); in TestAveragePoolingFloat() 87 if (registration->free) { in TestAveragePoolingFloat() 88 registration->free(&context, user_data); in TestAveragePoolingFloat() [all …]
|
/external/tensorflow/tensorflow/lite/micro/ |
D | micro_mutable_op_resolver_test.cc | 59 const TfLiteRegistration* registration = in TF_LITE_MICRO_TEST() local 61 TF_LITE_MICRO_EXPECT_NE(nullptr, registration); in TF_LITE_MICRO_TEST() 62 TF_LITE_MICRO_EXPECT_EQ(nullptr, registration->init(nullptr, nullptr, 0)); in TF_LITE_MICRO_TEST() 63 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->prepare(nullptr, nullptr)); in TF_LITE_MICRO_TEST() 64 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, registration->invoke(nullptr, nullptr)); in TF_LITE_MICRO_TEST() 68 registration = resolver->FindOp(BuiltinOperator_CONV_2D, 10); in TF_LITE_MICRO_TEST() 69 TF_LITE_MICRO_EXPECT_EQ(nullptr, registration); in TF_LITE_MICRO_TEST() 71 registration = resolver->FindOp(BuiltinOperator_RELU, 0); in TF_LITE_MICRO_TEST() 72 TF_LITE_MICRO_EXPECT_EQ(nullptr, registration); in TF_LITE_MICRO_TEST() 74 registration = resolver->FindOp("mock_custom", 0); in TF_LITE_MICRO_TEST() [all …]
|
D | micro_interpreter.cc | 26 const char* OpNameFromRegistration(const TfLiteRegistration* registration) { in OpNameFromRegistration() argument 27 if (registration->builtin_code == BuiltinOperator_CUSTOM) { in OpNameFromRegistration() 28 return registration->custom_name; in OpNameFromRegistration() 30 return EnumNameBuiltinOperator(BuiltinOperator(registration->builtin_code)); in OpNameFromRegistration() 149 auto* registration = node_and_registrations_[i].registration; in Invoke() local 152 if (registration->builtin_code == BuiltinOperator_CUSTOM) { in Invoke() 159 if (!tensors_prepared_ && registration->init) { in Invoke() 161 registration->init(&context_, init_data, init_data_size); in Invoke() 168 auto* registration = node_and_registrations_[i].registration; in Invoke() local 169 if (registration->prepare) { in Invoke() [all …]
|
D | micro_mutable_op_resolver.h | 38 const TfLiteRegistration& registration = registrations_[i]; in FindOp() local 39 if ((registration.builtin_code == op) && in FindOp() 40 (registration.version == version)) { in FindOp() 41 return ®istration; in FindOp() 49 const TfLiteRegistration& registration = registrations_[i]; in FindOp() local 50 if ((registration.builtin_code == BuiltinOperator_CUSTOM) && in FindOp() 51 (strcmp(registration.custom_name, op) == 0) && in FindOp() 52 (registration.version == version)) { in FindOp() 53 return ®istration; in FindOp() 59 void AddBuiltin(tflite::BuiltinOperator op, TfLiteRegistration* registration, [all …]
|
/external/tcpdump/tests/ |
D | eapon1.out | 45 IP 169.254.67.194.137 > 169.254.255.255.137: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 47 IP 169.254.67.194.137 > 169.254.255.255.137: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 48 IP 169.254.67.194.137 > 169.254.255.255.137: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 50 IP 169.254.67.194.137 > 169.254.255.255.137: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 52 IP 169.254.67.194.137 > 169.254.255.255.137: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 57 IP 169.254.67.194.137 > 169.254.255.255.137: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 58 IP 169.254.67.194.137 > 169.254.255.255.137: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 61 IP 169.254.67.194.137 > 169.254.255.255.137: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 68 IP 169.254.67.194.137 > 169.254.255.255.137: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST 69 IP 169.254.67.194.137 > 169.254.255.255.137: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST [all …]
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | xla_interpreter_device.cc | 55 XlaOpRegistry::DeviceRegistration registration; in CreateDevices() local 56 registration.compilation_device_name = DEVICE_INTERPRETER_XLA_JIT; in CreateDevices() 57 registration.autoclustering_policy = in CreateDevices() 59 registration.cluster_resource_variable_ops_unsafely = true; in CreateDevices() 60 registration.cluster_stack_ops = false; in CreateDevices() 61 registration.cluster_tensor_array_ops = true; in CreateDevices() 62 registration.cluster_stateful_rng_ops = true; in CreateDevices() 63 registration.cluster_control_trigger = true; in CreateDevices() 64 registration.elide_assert_and_checknumerics = true; in CreateDevices() 65 registration.cluster_variant_ops = true; in CreateDevices() [all …]
|
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/autotest/client/common_lib/cros/fake_device_server/ |
D | registration_tickets_unittest.py | 27 """Sets up mox and a ticket / registration objects.""" 40 self.registration = registration_tickets.RegistrationTickets( 50 self.registration.POST, 1234, 'finalize') 58 returned_json = self.registration.POST(1234, 'finalize') 72 'Bearer %s' % self.registration.TEST_ACCESS_TOKEN) 74 returned_json = self.registration.POST() 82 returned_json = self.registration.GET(1234) 87 self.registration.GET, 1235) 101 returned_json = self.registration.PATCH(1234) 116 returned_json = self.registration.PUT(12345) [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/ |
D | model_builder.cc | 400 const TfLiteRegistration* registration, 406 const TfLiteRegistration* registration) = 0; 533 Status CheckMaxSupportedOpVersion(const TfLiteRegistration* registration, in CheckMaxSupportedOpVersion() argument 535 const int op_version = registration->version; in CheckMaxSupportedOpVersion() 544 Status CheckExactSupportedOpVersion(const TfLiteRegistration* registration, in CheckExactSupportedOpVersion() argument 546 int op_version = registration->version; in CheckExactSupportedOpVersion() 649 const TfLiteRegistration* registration) final { in IsSupported() argument 650 RETURN_IF_ERROR(CheckMaxSupportedOpVersion(registration, 1)); in IsSupported() 660 const TfLiteRegistration* registration, GraphFloat32* graph, in Parse() argument 726 const TfLiteRegistration* registration) final { in IsSupported() argument [all …]
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | xla_op_registry.cc | 115 const string& device_name, const DeviceRegistration& registration) { in RegisterCompilationDevice() argument 119 registry.compilation_devices_.emplace(device_name, registration); in RegisterCompilationDevice() 121 registration.compilation_device_name); in RegisterCompilationDevice() 130 CHECK(result.second) << "Duplicate XLA backend registration " in RegisterBackend() 138 const string& device_name, const DeviceRegistration** registration) { in GetCompilationDevice() argument 150 DeviceRegistration& registration = in GetCompilationDevice() local 152 registration.compilation_device_name = DEVICE_CPU_XLA_JIT; in GetCompilationDevice() 153 registration.autoclustering_policy = in GetCompilationDevice() 159 DeviceRegistration& registration = in GetCompilationDevice() local 161 registration.compilation_device_name = DEVICE_GPU_XLA_JIT; in GetCompilationDevice() [all …]
|
/external/autotest/client/site_tests/cellular_DeferredRegistration/ |
D | cellular_DeferredRegistration.py | 18 Tests that shill can handle temporary registration loss without 22 registration loss for an extended period of time (>15s). 45 logging.info('Verifying temporary loss of registration behavior') 54 'destroyed after temporary registration loss.') 55 logging.info('Successfully verified temporary loss of registration ' 60 logging.info('Verifying permanent loss of registration behavior') 66 'after permanent registration loss.') 67 logging.info('Successfully verified permanent loss of registration '
|