Merge pull request #46302 from vnvo2409:expose-c-env
PiperOrigin-RevId: 351405317 Change-Id: I6b15e35f92f52279403142d556c481b92c0dd40d
This commit is contained in:
commit
0e43a67584
@ -736,6 +736,7 @@ tf_cc_shared_object(
|
|||||||
deps = [
|
deps = [
|
||||||
"//tensorflow/c/experimental/filesystem:filesystem_interface",
|
"//tensorflow/c/experimental/filesystem:filesystem_interface",
|
||||||
"//tensorflow/c/experimental/stream_executor:stream_executor",
|
"//tensorflow/c/experimental/stream_executor:stream_executor",
|
||||||
|
"//tensorflow/c:env",
|
||||||
"//tensorflow/c:kernels",
|
"//tensorflow/c:kernels",
|
||||||
"//tensorflow/c:logging",
|
"//tensorflow/c:logging",
|
||||||
"//tensorflow/c:ops_hdrs",
|
"//tensorflow/c:ops_hdrs",
|
||||||
|
@ -505,11 +505,13 @@ tf_cuda_library(
|
|||||||
"//tensorflow/core:framework",
|
"//tensorflow/core:framework",
|
||||||
],
|
],
|
||||||
}) + [
|
}) + [
|
||||||
":c_api",
|
":c_api_macros",
|
||||||
|
":tf_status",
|
||||||
":tf_status_helper",
|
":tf_status_helper",
|
||||||
":c_api_internal",
|
|
||||||
":tf_file_statistics",
|
":tf_file_statistics",
|
||||||
"//tensorflow/core:lib",
|
"//tensorflow/core/platform:env",
|
||||||
|
"//tensorflow/core/platform:path",
|
||||||
|
"//tensorflow/core/platform:types",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -15,7 +15,8 @@ limitations under the License.
|
|||||||
|
|
||||||
#include "tensorflow/c/env.h"
|
#include "tensorflow/c/env.h"
|
||||||
|
|
||||||
#include "tensorflow/c/c_api_internal.h"
|
#include "tensorflow/c/c_api_macros.h"
|
||||||
|
#include "tensorflow/c/tf_status.h"
|
||||||
#include "tensorflow/c/tf_status_helper.h"
|
#include "tensorflow/c/tf_status_helper.h"
|
||||||
#include "tensorflow/core/platform/env.h"
|
#include "tensorflow/core/platform/env.h"
|
||||||
#include "tensorflow/core/platform/path.h"
|
#include "tensorflow/core/platform/path.h"
|
||||||
|
@ -20,8 +20,9 @@ limitations under the License.
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "tensorflow/c/c_api.h"
|
#include "tensorflow/c/c_api_macros.h"
|
||||||
#include "tensorflow/c/tf_file_statistics.h"
|
#include "tensorflow/c/tf_file_statistics.h"
|
||||||
|
#include "tensorflow/c/tf_status.h"
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
// C API for tensorflow::Env.
|
// C API for tensorflow::Env.
|
||||||
|
Loading…
Reference in New Issue
Block a user