/external/tensorflow/tensorflow/contrib/lite/tools/ |
mutable_op_resolver.cc | 32 TfLiteRegistration* registration) { 33 registration->builtin_code = op; 34 builtins_.insert(std::make_pair(op, registration)); 38 TfLiteRegistration* registration) { 39 registration->builtin_code = BuiltinOperator_CUSTOM; 40 custom_ops_.insert(std::make_pair(std::string(name), registration));
|
mutable_op_resolver.h | 45 void AddBuiltin(tflite::BuiltinOperator op, TfLiteRegistration* registration); 46 void AddCustom(const char* name, TfLiteRegistration* registration);
|
/external/tensorflow/tensorflow/contrib/lite/kernels/ |
register.h | 31 void AddBuiltin(tflite::BuiltinOperator op, TfLiteRegistration* registration); 32 void AddCustom(const char* name, TfLiteRegistration* registration);
|
register.cc | 131 TfLiteRegistration* registration) { 132 registration->builtin_code = op; 133 builtins_.insert(std::make_pair(op, registration)); 137 TfLiteRegistration* registration) { 138 registration->builtin_code = BuiltinOperator_CUSTOM; 139 custom_ops_.insert(std::make_pair(std::string(name), registration));
|
/external/autotest/client/common_lib/cros/fake_device_server/ |
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/compiler/tf2xla/ |
xla_op_registry.cc | 95 const string& device_name, const DeviceRegistration& registration) { 99 registry.compilation_devices_.emplace(device_name, registration); 101 registration.compilation_device_name); 110 CHECK(result.second) << "Duplicate XLA backend registration " 118 const string& device_name, const DeviceRegistration** registration) { 126 DeviceRegistration& registration = 128 registration.compilation_device_name = DEVICE_CPU_XLA_JIT; 129 registration.requires_compilation = false; 130 registration.enable_jit_by_default = false; 131 registration.compile_resource_ops = false [all...] |
xla_op_registry.h | 107 // `registration`. 109 const DeviceRegistration& registration); 118 const DeviceRegistration** registration); 205 // and this is checked during registration. 231 // Starts an operator registration chain. 274 XlaOpRegistrar(std::unique_ptr<XlaOpRegistry::OpRegistration> registration);
|
/external/tensorflow/tensorflow/core/lib/monitoring/ |
collection_registry.cc | 98 for (const auto& registration : registry_) { 100 collector.CollectMetricDescriptor(registration.second.metric_def); 103 collector.CollectMetricValues(registration.second /* collection_info */);
|
/external/tensorflow/tensorflow/contrib/lite/ |
interpreter.cc | 110 TfLiteContext* context, TfLiteRegistration registration, 113 ->ReplaceSubgraphsWithDelegateKernels(registration, nodes_to_replace); 117 TfLiteRegistration registration, const TfLiteIntArray* nodes_to_replace) { 149 ®istration, &node_index); 266 const TfLiteRegistration* registration, int* node_index) { 295 node.user_data = OpInit(*registration, init_data, init_data_size); 298 OpInit(*registration, 302 node_and_reg.second = *registration; 337 const TfLiteRegistration& registration = local 339 if (OpPrepare(registration, &node) == kTfLiteError) 414 const TfLiteRegistration& registration = local [all...] |
interpreter.h | 123 const TfLiteRegistration* registration, 191 // Get a pointer to an operation and registration data structure if in bounds. 342 TfLiteContext* context, TfLiteRegistration registration, 347 // slated for replacement with a delegate kernel specified by registration. 350 TfLiteRegistration registration, const TfLiteIntArray* nodes_to_replace); 355 TfLiteRegistration** registration); 361 TfLiteRegistration** registration);
|
context.h | 226 // Opaque data provided by the node implementer through `Registration.init`. 284 TfLiteRegistration** registration); 288 struct TfLiteContext*, TfLiteRegistration registration, 330 // NN API. Note, it is the responsibility of the registration binder to
|
/external/tensorflow/tensorflow/compiler/jit/ |
mark_for_compilation_pass.cc | 202 const XlaOpRegistry::DeviceRegistration* registration; local 204 XlaOpRegistry::GetCompilationDevice(device_type.type(), ®istration)); 205 DeviceType jit_device_type(registration->compilation_device_name); 212 if (!registration->compile_resource_ops && 288 const XlaOpRegistry::DeviceRegistration* registration; local 290 ®istration)); 291 DeviceType jit_device_type(registration->compilation_device_name); 322 const XlaOpRegistry::DeviceRegistration* registration; 324 ®istration)) { 333 if (registration->requires_compilation) return true 581 const XlaOpRegistry::DeviceRegistration* registration; local [all...] |
xla_device.cc | 119 XlaOpRegistry::DeviceRegistration registration; local 120 registration.compilation_device_name = jit_device_name; 121 registration.requires_compilation = true; 122 registration.enable_jit_by_default = false; 123 registration.compile_resource_ops = true; 124 XlaOpRegistry::RegisterCompilationDevice(device_name, registration);
|
/external/autotest/client/common_lib/cros/fake_device_server/client_lib/ |
client_lib_test.py | 7 """Small integration test for registration client 30 import registration 65 r_client = registration.RegistrationClient(server_url=server_url,
|
/prebuilts/go/darwin-x86/src/image/ |
format.go | 75 // The string returned is the format name used during format registration. 76 // Format registration is typically done by an init function in the codec- 90 // used during format registration. Format registration is typically done by
|
/prebuilts/go/darwin-x86/src/runtime/testdata/testprog/ |
main.go | 13 panic("duplicate registration: " + name)
|
/prebuilts/go/darwin-x86/src/runtime/testdata/testprogcgo/ |
main.go | 13 panic("duplicate registration: " + name)
|
/prebuilts/go/darwin-x86/src/runtime/testdata/testprognet/ |
main.go | 13 panic("duplicate registration: " + name)
|
/prebuilts/go/linux-x86/src/image/ |
format.go | 75 // The string returned is the format name used during format registration. 76 // Format registration is typically done by an init function in the codec- 90 // used during format registration. Format registration is typically done by
|
/prebuilts/go/linux-x86/src/runtime/testdata/testprog/ |
main.go | 13 panic("duplicate registration: " + name)
|
/prebuilts/go/linux-x86/src/runtime/testdata/testprogcgo/ |
main.go | 13 panic("duplicate registration: " + name)
|
/prebuilts/go/linux-x86/src/runtime/testdata/testprognet/ |
main.go | 13 panic("duplicate registration: " + name)
|
/prebuilts/go/darwin-x86/src/encoding/gob/ |
type_test.go | 50 // Reregister some basic types to check registration is idempotent. 71 t.Errorf("second registration of [3]int creates new type") 76 t.Errorf("registration of [3]int creates same type as [4]int") 81 t.Errorf("registration of [3]bool creates same type as [3]int") 96 t.Errorf("second registration of []int creates new type") 101 t.Errorf("registration of []bool creates same type as []int") 116 t.Errorf("second registration of map[string]int creates new type") 121 t.Errorf("registration of map[string]bool creates same type as map[string]int")
|
/prebuilts/go/linux-x86/src/encoding/gob/ |
type_test.go | 50 // Reregister some basic types to check registration is idempotent. 71 t.Errorf("second registration of [3]int creates new type") 76 t.Errorf("registration of [3]int creates same type as [4]int") 81 t.Errorf("registration of [3]bool creates same type as [3]int") 96 t.Errorf("second registration of []int creates new type") 101 t.Errorf("registration of []bool creates same type as []int") 116 t.Errorf("second registration of map[string]int creates new type") 121 t.Errorf("registration of map[string]bool creates same type as map[string]int")
|
/bootable/recovery/updater/ |
Android.mk | 105 # gets #included by updater.c. It calls all those registration 110 # any sort of registration function for these. Use this variable for
|