MCPcopy Create free account
hub / github.com/benoitsteiner/tensorflow-opencl / LoadLibrary

Function LoadLibrary

tensorflow/core/framework/load_library.cc:46–102  ·  view source on GitHub ↗

Load a dynamic library. On success, returns the handle to library in result, copies the serialized OpList of OpDefs registered in the library to *buf and the length to *len, and returns OK from the function. Otherwise return nullptr in result and an error status from the function, leaving buf and len untouched. If `library_filename` has already been loaded, we return a cached handle and OpList. O

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TF_LoadLibraryFunction · 0.50

Calls 15

ProcessRegistrationsMethod · 0.80
SetWatcherMethod · 0.80
DeferRegistrationsMethod · 0.80
MallocFunction · 0.50
findMethod · 0.45
endMethod · 0.45
okMethod · 0.45
nameMethod · 0.45
add_opMethod · 0.45
insertMethod · 0.45
LoadLibraryMethod · 0.45

Tested by

no test coverage detected