address comments

This commit is contained in:
Zhoulong Jiang 2020-10-28 08:37:45 +00:00
parent 27dd6a502c
commit 1f2fc26c41
2 changed files with 2 additions and 2 deletions

View File

@ -750,7 +750,7 @@ void TF_ImportGraphDefOptionsSetValidateColocationConstraints(
} }
// Load a Pluggable Device library // Load a Pluggable Device library
// On sucess, 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.
// //

View File

@ -140,7 +140,7 @@ TF_CAPI_EXPORT extern void TF_DeleteKernelBuilder(TF_KernelBuilder* builder);
// (tensorflow/c/experimental/stream_executor/stream_executor.h). It will return // (tensorflow/c/experimental/stream_executor/stream_executor.h). It will return
// nullptr in all other cases. // nullptr in all other cases.
// Experimental: this function doesn't have compatibility guarantees and subject // Experimental: this function doesn't have compatibility guarantees and subject
// to change at any time." // to change at any time.
TF_CAPI_EXPORT extern SP_Stream TF_GetStream(TF_OpKernelContext* ctx); TF_CAPI_EXPORT extern SP_Stream TF_GetStream(TF_OpKernelContext* ctx);
// TF_NumInputs returns the number of inputs available in ctx. // TF_NumInputs returns the number of inputs available in ctx.