end with period
This commit is contained in:
parent
154f538a42
commit
97d2075ada
@ -749,7 +749,7 @@ void TF_ImportGraphDefOptionsSetValidateColocationConstraints(
|
|||||||
opts->opts.validate_colocation_constraints = enable;
|
opts->opts.validate_colocation_constraints = enable;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load a Pluggable Device library
|
// Load a Pluggable Device library.
|
||||||
// On success, returns the handle to library in result and return OK from the
|
// On success, returns the handle to library in result and return OK from the
|
||||||
// function. Otherwise return nullptr in result and error Status from the
|
// function. Otherwise return nullptr in result and error Status from the
|
||||||
// function.
|
// function.
|
||||||
|
@ -309,10 +309,10 @@ TF_ImportGraphDefOptionsSetValidateColocationConstraints(
|
|||||||
//
|
//
|
||||||
// Pass "library_filename" to a platform-specific mechanism for dynamically
|
// Pass "library_filename" to a platform-specific mechanism for dynamically
|
||||||
// loading a library. The rules for determining the exact location of the
|
// loading a library. The rules for determining the exact location of the
|
||||||
// library are platform-specific and are not documented here
|
// library are platform-specific and are not documented here.
|
||||||
//
|
//
|
||||||
// On success, place OK in status and return the newly created library handle.
|
// On success, place OK in status and return the newly created library handle.
|
||||||
// The caller owns the library handle
|
// The caller owns the library handle.
|
||||||
//
|
//
|
||||||
// On failure, place an error status in status and return NULL.
|
// On failure, place an error status in status and return NULL.
|
||||||
TF_CAPI_EXPORT extern TF_Library* TF_LoadPluggableDeviceLibrary(
|
TF_CAPI_EXPORT extern TF_Library* TF_LoadPluggableDeviceLibrary(
|
||||||
|
@ -163,7 +163,7 @@ def load_pluggable_device_library(library_location):
|
|||||||
"library_location" can be a path to a specific shared object, or a folder.
|
"library_location" can be a path to a specific shared object, or a folder.
|
||||||
If it is a folder, all shared objects will be loaded. when the library is
|
If it is a folder, all shared objects will be loaded. when the library is
|
||||||
loaded, devices/kernels registered in the library via StreamExecutor C API
|
loaded, devices/kernels registered in the library via StreamExecutor C API
|
||||||
and Kernel/Op Registration C API are made available in TensorFlow process
|
and Kernel/Op Registration C API are made available in TensorFlow process.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
library_location: Path to the plugin or folder of plugins.
|
library_location: Path to the plugin or folder of plugins.
|
||||||
|
Loading…
Reference in New Issue
Block a user