Change name of LoadLibrary

Co-authored-by: Mihai Maruseac <mihai.maruseac@gmail.com>
This commit is contained in:
Vo Van Nghia 2020-07-30 01:46:38 +07:00 committed by GitHub
parent a9d4eaace0
commit 124fb2b2bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,7 +187,7 @@ void TF_JoinThread(TF_Thread* thread) {
delete reinterpret_cast<::tensorflow::Thread*>(thread);
}
void* TF_LoadLibraryFromEnv(const char* library_filename, TF_Status* status) {
void* TF_LoadSharedLibrary(const char* library_filename, TF_Status* status) {
void* handle = nullptr;
TF_SetStatus(status, TF_OK, "");
::tensorflow::Set_TF_Status_from_Status(