Home
last modified time | relevance | path

Searched full:registration (Results 1 – 25 of 2268) sorted by relevance

12345678910>>...91

/external/tensorflow/tensorflow/python/saved_model/registration/
Dregistration_test.py15 """Tests the registration functions.
24 from tensorflow.python.saved_model import registration
28 @registration.register_serializable()
33 @registration.register_serializable(name="Subclass")
38 @registration.register_serializable(package="testing")
43 @registration.register_serializable(package="testing", name="name")
58 self.assertEqual(registration.get_registered_class_name(obj), expected_name)
60 registration.get_registered_class(expected_name), expected_cls)
63 self.assertIsNone(registration.get_registered_class("invalid name"))
71 self.assertIsNone(registration.get_registered_class_name(no_register))
[all …]
D__init__.py17 from tensorflow.python.saved_model.registration.registration import get_registered_class
18 from tensorflow.python.saved_model.registration.registration import get_registered_class_name
19 from tensorflow.python.saved_model.registration.registration import get_registered_saver_name
20 from tensorflow.python.saved_model.registration.registration import get_restore_function
21 from tensorflow.python.saved_model.registration.registration import get_save_function
22 from tensorflow.python.saved_model.registration.registration import get_strict_predicate_restore
25 from tensorflow.python.saved_model.registration.registration import register_checkpoint_saver
26 from tensorflow.python.saved_model.registration.registration import register_serializable
28 from tensorflow.python.saved_model.registration.registration import RegisteredSaver
29 from tensorflow.python.saved_model.registration.registration import validate_restore_function
DREADME.md4 steps [documentation TBD], registration is required.
9 * `tensorflow.python.saved_model.registration.register_tf_serializable`
11 * `tensorflow.python.saved_model.registration.register_tf_checkpoint_saver`
16 ## SavedModel serializable registration
26 registration.register_serializable(package, name)
27 registration.register_tf_serializable(name) # If TensorFlow-internal.
32 is "{package}.{name}" (for TensorFlow internal registration, the package
35 ## Checkpoint saver registration
107 @registration.register_serializable()
118 @registration.register_serializable()
[all …]
/external/autotest/server/site_tests/firmware_Cr50U2fCommands/
Dfirmware_Cr50U2fCommands.py248 registration = self.__u2f_generate(APP_ID, USER_SECRET_1, '00')
251 if registration['pubKey'] == registration_2['pubKey']:
254 if registration['keyHandle'] == registration_2['keyHandle']:
266 registration = self.__u2f_generate(APP_ID, USER_SECRET_1, '00')
270 self.__u2f_sign(APP_ID, USER_SECRET_1, registration['keyHandle'],
308 registration = self.__u2f_generate(APP_ID, USER_SECRET_1, '00')
315 self.__u2f_sign(APP_ID, USER_SECRET_1, registration['keyHandle'],
319 registration = self.__u2f_generate(APP_ID, USER_SECRET_1, '00')
323 self.__u2f_sign(APP_ID, USER_SECRET_1, registration['keyHandle'],
329 self.__u2f_sign(APP_ID, USER_SECRET_1, registration['keyHandle'],
[all …]
/external/tensorflow/tensorflow/lite/core/api/
Dop_resolver_test.cc87 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 …]
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dmodel_builder_test.cc153 // node(int) and registration(int) are used to implement
156 // context->GetNodeAndRegistration(context, &node, &registration);
168 TfLiteRegistration* registration(int index) { in registration() function in tflite::gpu::__anonbada3a910111::DelegatedInterpreter
219 /*registration=*/&reg_dequant0), in InterpreterFp16()
228 /*registration=*/&reg_dequant1), in InterpreterFp16()
247 /*registration=*/&reg_op0), in InterpreterFp16()
324 TfLiteRegistration** registration) { in TEST() argument
326 *registration = interpreter_fp16_add_op->registration(node_index); in TEST()
354 TfLiteRegistration* registration = nullptr; in TEST() local
356 &registration); in TEST()
[all …]
Dmodel_builder.cc237 TfLiteRegistration* registration = nullptr; in GetTensorInfo() local
240 &registration) != kTfLiteOk) { in GetTensorInfo()
242 "Unable to get node and registration for node."); in GetTensorInfo()
246 result->consumers.push_back({node, registration}); in GetTensorInfo()
251 result->producers.push_back({node, registration}); in GetTensorInfo()
280 const TfLiteRegistration* registration) final { in IsSupported() argument
281 return CheckGpuDelegateCompatibility(context, tflite_node, registration); in IsSupported()
285 const TfLiteRegistration* registration, in Parse() argument
338 const TfLiteRegistration* registration) final { in IsSupported() argument
364 return CheckGpuDelegateCompatibility(context, tflite_node, registration); in IsSupported()
[all …]
/external/tensorflow/tensorflow/lite/c/
Dc_api.cc81 TfLiteRegistrationExternal* registration, in TfLiteRegistrationExternalSetInit() argument
84 registration->init = init; in TfLiteRegistrationExternalSetInit()
88 TfLiteRegistrationExternal* registration, in TfLiteRegistrationExternalSetFree() argument
90 registration->free = free; in TfLiteRegistrationExternalSetFree()
94 TfLiteRegistrationExternal* registration, in TfLiteRegistrationExternalSetPrepare() argument
97 registration->prepare = prepare; in TfLiteRegistrationExternalSetPrepare()
101 TfLiteRegistrationExternal* registration, in TfLiteRegistrationExternalSetInvoke() argument
104 registration->invoke = invoke; in TfLiteRegistrationExternalSetInvoke()
135 TfLiteRegistrationExternal* registration) { in TfLiteInterpreterOptionsAddRegistrationExternal() argument
136 options->op_registrations.push_back(registration); in TfLiteInterpreterOptionsAddRegistrationExternal()
[all …]
/external/rust/crates/tokio/src/io/
Dpoll_evented.rs2 use crate::runtime::io::Registration;
15 /// `PollEvented` uses [`Registration`] internally to take a type that
36 /// While similar in function to what [`Registration`] provides, the
62 /// [`clear_readiness`]: Registration::clear_readiness
63 /// [`poll_read_ready`]: Registration::poll_read_ready
64 /// [`poll_write_ready`]: Registration::poll_write_ready
67 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()
123 /// Returns a reference to the registration.
[all …]
/external/tcpdump/tests/
Deapon1.out45 …030 IP 169.254.67.194.137 > 169.254.255.255.137: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROAD…
47 …004 IP 169.254.67.194.137 > 169.254.255.255.137: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROAD…
48 …435 IP 169.254.67.194.137 > 169.254.255.255.137: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROAD…
50 …836 IP 169.254.67.194.137 > 169.254.255.255.137: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROAD…
52 …632 IP 169.254.67.194.137 > 169.254.255.255.137: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROAD…
57 …620 IP 169.254.67.194.137 > 169.254.255.255.137: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROAD…
58 …013 IP 169.254.67.194.137 > 169.254.255.255.137: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROAD…
61 …408 IP 169.254.67.194.137 > 169.254.255.255.137: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROAD…
68 …353 IP 169.254.67.194.137 > 169.254.255.255.137: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROAD…
69 …896 IP 169.254.67.194.137 > 169.254.255.255.137: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROAD…
[all …]
/external/tensorflow/tensorflow/lite/delegates/coreml/builders/
Dop_validator.h24 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/lite/delegates/coreml/
Dcoreml_delegate.mm38 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/runtime/io/
Dregistration.rs15 /// A registration represents an I/O resource registered with a Reactor such
22 /// registration instance is dropped.
24 /// A registration instance represents two separate readiness streams. One
28 /// **Note**: while `Registration` is `Sync`, the caller must ensure that
29 /// there are at most two tasks that use a registration instance
37 /// `Registration` also allows receiving platform-specific `mio::Ready`
46 pub(crate) struct Registration {
55 unsafe impl Send for Registration {} implementation
56 unsafe impl Sync for Registration {} implementation
58 // ===== impl Registration =====
[all …]
/external/cronet/net/third_party/quiche/src/quiche/quic/core/io/
Dquic_poll_event_loop.cc45 registrations_.insert({fd, std::make_shared<Registration>()}); in RegisterSocket()
49 Registration& registration = *it->second; in RegisterSocket() local
50 registration.events = events; in RegisterSocket()
51 registration.listener = listener; in RegisterSocket()
140 for (auto& [fd, registration] : registrations_) { in ProcessIoEvents()
144 pollfds[i].events = GetPollMask(registration->events); in ProcessIoEvents()
177 Registration& registration = *it->second; in DispatchIoEvent() local
179 mask |= GetPollMask(registration.artificially_notify_at_next_iteration); in DispatchIoEvent()
180 registration.artificially_notify_at_next_iteration = QuicSocketEventMask(); in DispatchIoEvent()
183 mask &= GetPollMask(registration.events); in DispatchIoEvent()
[all …]
/external/tensorflow/tensorflow/compiler/jit/
Dxla_cpu_device.cc63 XlaOpRegistry::DeviceRegistration registration; in CreateDevices() local
64 registration.compilation_device_name = DEVICE_CPU_XLA_JIT; in CreateDevices()
65 registration.autoclustering_policy = in CreateDevices()
69 registration.cluster_resource_variable_ops_unsafely = true; in CreateDevices()
70 registration.cluster_stack_ops = false; in CreateDevices()
71 registration.cluster_tensor_array_ops = true; in CreateDevices()
72 registration.cluster_stateful_rng_ops = true; in CreateDevices()
73 registration.cluster_control_trigger = true; in CreateDevices()
74 registration.elide_assert_and_checknumerics = true; in CreateDevices()
75 registration.cluster_variant_ops = true; in CreateDevices()
[all …]
Dxla_gpu_device.cc83 XlaOpRegistry::DeviceRegistration registration; in CreateDevices() local
84 registration.compilation_device_name = DEVICE_GPU_XLA_JIT; in CreateDevices()
85 registration.autoclustering_policy = in CreateDevices()
87 registration.cluster_resource_variable_ops_unsafely = true; in CreateDevices()
88 registration.cluster_stack_ops = false; in CreateDevices()
89 registration.cluster_tensor_array_ops = true; in CreateDevices()
90 registration.cluster_stateful_rng_ops = true; in CreateDevices()
91 registration.cluster_control_trigger = true; in CreateDevices()
92 registration.elide_assert_and_checknumerics = true; in CreateDevices()
93 registration.cluster_variant_ops = true; in CreateDevices()
[all …]
/external/tensorflow/tensorflow/lite/
Dutil_test.cc99 TfLiteRegistration registration{}; in TEST() local
100 registration.builtin_code = tflite::BuiltinOperator_ADD; in TEST()
101 const auto op_name = GetOpNameByRegistration(registration); in TEST()
106 TfLiteRegistration registration{}; in TEST() local
107 registration.builtin_code = -1; in TEST()
108 const auto op_name = GetOpNameByRegistration(registration); in TEST()
113 TfLiteRegistration registration{}; in TEST() local
114 registration.builtin_code = tflite::BuiltinOperator_CUSTOM; in TEST()
115 registration.custom_name = "TestOp"; in TEST()
116 auto op_name = GetOpNameByRegistration(registration); in TEST()
[all …]
/external/python/google-api-python-client/googleapiclient/discovery_cache/documents/
Ddomains.v1beta1.json253 …"description": "Updates a `Registration`'s contact settings. Some changes require confirmation by …
258 "registration"
261 "registration": { object
262 …"description": "Required. The name of the `Registration` whose contact settings are being updated,…
269 "path": "v1beta1/{+registration}:configureContactSettings",
281 "description": "Updates a `Registration`'s DNS settings.",
286 "registration"
289 "registration": { object
290 …"description": "Required. The name of the `Registration` whose DNS settings are being updated, in …
297 "path": "v1beta1/{+registration}:configureDnsSettings",
[all …]
Ddomains.v1alpha2.json253 …"description": "Updates a `Registration`'s contact settings. Some changes require confirmation by …
258 "registration"
261 "registration": { object
262 …"description": "Required. The name of the `Registration` whose contact settings are being updated,…
269 "path": "v1alpha2/{+registration}:configureContactSettings",
281 "description": "Updates a `Registration`'s DNS settings.",
286 "registration"
289 "registration": { object
290 …"description": "Required. The name of the `Registration` whose DNS settings are being updated, in …
297 "path": "v1alpha2/{+registration}:configureDnsSettings",
[all …]
Ddomains.v1.json253 …"description": "Updates a `Registration`'s contact settings. Some changes require confirmation by …
258 "registration"
261 "registration": { object
262 …"description": "Required. The name of the `Registration` whose contact settings are being updated,…
269 "path": "v1/{+registration}:configureContactSettings",
281 "description": "Updates a `Registration`'s DNS settings.",
286 "registration"
289 "registration": { object
290 …"description": "Required. The name of the `Registration` whose DNS settings are being updated, in …
297 "path": "v1/{+registration}:configureDnsSettings",
[all …]
/external/chromium-trace/catapult/third_party/polymer/components/webcomponentsjs/
DMutationObserver.js108 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/compiler/tf2xla/
Dxla_op_registry.cc115 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()
145 const string& device_name, const DeviceRegistration** registration) { in GetCompilationDevice() argument
157 DeviceRegistration& registration = in GetCompilationDevice() local
159 registration.compilation_device_name = DEVICE_CPU_XLA_JIT; in GetCompilationDevice()
160 registration.autoclustering_policy = in GetCompilationDevice()
166 DeviceRegistration& registration = in GetCompilationDevice() local
168 registration.compilation_device_name = DEVICE_GPU_XLA_JIT; in GetCompilationDevice()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/selects/
DSelect.kt70 * and it is only valid during the registration phase of the select builder.
140 * The registration function specifies how the `select` instance should be registered into
141 * the specified clause object. In case of channels, the registration logic
223 * REGISTRATION phase. To distinguish the reasons, [SelectImplementation.trySelectDetailed]
235 * When a clause becomes selected during registration, the corresponding internal result in trySelect()
249 …* Essentially, the `select` operation is split into three phases: REGISTRATION, WAITING, and COMPL… in trySelect()
251 * == Phase 1: REGISTRATION == in trySelect()
252 …* In the first REGISTRATION phase, the user-specified [SelectBuilder] is applied, and all the list… in trySelect()
253 …* are registered via the provided [registration functions][SelectClause.regFunc]. Intuitively, `se… in trySelect()
254 …* registration is similar to the plain blocking operation, with the only difference that this [Sel… in trySelect()
[all …]
/external/mbedtls/tests/suites/
Dtest_suite_psa_crypto_se_driver_hal.data147 Key registration: smoke test
150 Key registration: invalid lifetime (volatile internal storage)
153 Key registration: invalid lifetime (internal storage)
156 Key registration: invalid lifetime (no registered driver)
159 Key registration: rejected
162 Key registration: not supported
165 Key registration: key id out of range
168 Key registration: key id min vendor
171 Key registration: key id max vendor except volatile
174 Key registration: key id min volatile
[all …]
/external/openthread/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_se_driver_hal.data147 Key registration: smoke test
150 Key registration: invalid lifetime (volatile internal storage)
153 Key registration: invalid lifetime (internal storage)
156 Key registration: invalid lifetime (no registered driver)
159 Key registration: rejected
162 Key registration: not supported
165 Key registration: key id out of range
168 Key registration: key id min vendor
171 Key registration: key id max vendor except volatile
174 Key registration: key id min volatile
[all …]

12345678910>>...91