fix typos in c dir
This commit is contained in:
parent
018ad69342
commit
ebfdccd695
@ -1205,7 +1205,7 @@ typedef struct TF_Session TF_Session;
|
||||
// Return a new execution session with the associated graph, or NULL on
|
||||
// error. Does not take ownership of any input parameters.
|
||||
//
|
||||
// *`graph` must be a valid graph (not deleted or nullptr). `graph` will be be
|
||||
// *`graph` must be a valid graph (not deleted or nullptr). `graph` will be
|
||||
// kept alive for the lifetime of the returned TF_Session. New nodes can still
|
||||
// be added to `graph` after this call.
|
||||
TF_CAPI_EXPORT extern TF_Session* TF_NewSession(TF_Graph* graph,
|
||||
|
@ -86,7 +86,7 @@ TF_CAPI_EXPORT void TF_SetXlaConstantFoldingDisabled(
|
||||
|
||||
// Create a serialized tensorflow.ConfigProto proto, where:
|
||||
//
|
||||
// a) ConfigProto.optimizer_options.global_jit_level is set to to ON_1 if
|
||||
// a) ConfigProto.optimizer_options.global_jit_level is set to ON_1 if
|
||||
// `enable_xla_compilation` is non-zero, and OFF otherwise.
|
||||
// b) ConfigProto.gpu_options.allow_growth is set to `gpu_memory_allow_growth`.
|
||||
// c) ConfigProto.device_count is set to `num_cpu_devices`.
|
||||
|
@ -481,7 +481,7 @@ typedef struct TFE_CustomDevice {
|
||||
// "/job:localhost/replica:0/task:0/device:CUSTOM:0".
|
||||
//
|
||||
// The custom device defines copy operations for moving TensorHandles on and
|
||||
// off, and an an execution operation for named operations. Often execution will
|
||||
// off, and an execution operation for named operations. Often execution will
|
||||
// simply wrap op execution on one or more physical devices.
|
||||
//
|
||||
// device_info is an opaque caller-defined type stored with the custom device
|
||||
|
@ -16,9 +16,9 @@ limitations under the License.
|
||||
#define TENSORFLOW_C_EAGER_C_API_REMOTE_TEST_UTIL_H_
|
||||
|
||||
// Run a function containing a MatMul op and check its output.
|
||||
// If heavy_load_on_streaming_rpc is true, send some rpc reqeusts before the one
|
||||
// which creates a remote remote input, to simulate a scenario that the remote
|
||||
// input is not ready when we start running an op or a function.
|
||||
// If heavy_load_on_streaming_rpc is true, send some rpc requests before the one
|
||||
// which creates a remote input, to simulate a scenario that the remote input
|
||||
// is not ready when we start running an op or a function.
|
||||
void TestRemoteExecuteSilentCopies(bool async, bool remote, bool func,
|
||||
bool heavy_load_on_streaming_rpc,
|
||||
bool remote_func_outputs = false);
|
||||
|
@ -696,7 +696,7 @@ TEST(CAPI, ExecuteAddForwardAsync) {
|
||||
/*tfrt*/ false);
|
||||
}
|
||||
#ifdef PLATFORM_GOOGLE
|
||||
// TODO(b/153349425): Add add forwarding tests for TFRT
|
||||
// TODO(b/153349425): Add forwarding tests for TFRT
|
||||
TEST(CAPI, ExecuteAddTfrt) {
|
||||
ExecuteAdd(
|
||||
/*async=*/false,
|
||||
|
Loading…
Reference in New Issue
Block a user