Restore TpuPlatform auto registration code.
PiperOrigin-RevId: 317409587 Change-Id: If44d7a39a45c4c7026f70a4d79d965a54c4db295
This commit is contained in:
parent
f840a62268
commit
715b02167d
@ -134,4 +134,12 @@ void RegisterTpuPlatform() {
|
||||
}
|
||||
}
|
||||
|
||||
REGISTER_MODULE_INITIALIZER(tpu_platform, RegisterTpuPlatform());
|
||||
|
||||
// Note that module initialization sequencing is not supported in the
|
||||
// open-source project, so this will be a no-op there.
|
||||
REGISTER_MODULE_INITIALIZER_SEQUENCE(tpu_platform, multi_platform_manager);
|
||||
REGISTER_MODULE_INITIALIZER_SEQUENCE(multi_platform_manager_listener,
|
||||
tpu_platform);
|
||||
|
||||
} // namespace tensorflow
|
||||
|
Loading…
Reference in New Issue
Block a user