From 97d2075adaf60c8c2f4fa84ea5f29b486745591e Mon Sep 17 00:00:00 2001 From: Zhoulong Jiang Date: Tue, 10 Nov 2020 13:56:49 +0000 Subject: [PATCH] end with period --- tensorflow/c/c_api_experimental.cc | 2 +- tensorflow/c/c_api_experimental.h | 4 ++-- tensorflow/python/framework/load_library.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tensorflow/c/c_api_experimental.cc b/tensorflow/c/c_api_experimental.cc index 9d484efc412..eb875bde85a 100644 --- a/tensorflow/c/c_api_experimental.cc +++ b/tensorflow/c/c_api_experimental.cc @@ -749,7 +749,7 @@ void TF_ImportGraphDefOptionsSetValidateColocationConstraints( 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 // function. Otherwise return nullptr in result and error Status from the // function. diff --git a/tensorflow/c/c_api_experimental.h b/tensorflow/c/c_api_experimental.h index 832d2db6ab2..b6cb3268063 100644 --- a/tensorflow/c/c_api_experimental.h +++ b/tensorflow/c/c_api_experimental.h @@ -309,10 +309,10 @@ TF_ImportGraphDefOptionsSetValidateColocationConstraints( // // Pass "library_filename" to a platform-specific mechanism for dynamically // 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. -// The caller owns the library handle +// The caller owns the library handle. // // On failure, place an error status in status and return NULL. TF_CAPI_EXPORT extern TF_Library* TF_LoadPluggableDeviceLibrary( diff --git a/tensorflow/python/framework/load_library.py b/tensorflow/python/framework/load_library.py index cbcb2652c70..589d9c4e4ec 100644 --- a/tensorflow/python/framework/load_library.py +++ b/tensorflow/python/framework/load_library.py @@ -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. 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 - 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: library_location: Path to the plugin or folder of plugins.