1 | /* Copyright 2015 The TensorFlow Authors. All Rights Reserved. |
---|---|
2 | |
3 | Licensed under the Apache License, Version 2.0 (the "License"); |
4 | you may not use this file except in compliance with the License. |
5 | You may obtain a copy of the License at |
6 | |
7 | http://www.apache.org/licenses/LICENSE-2.0 |
8 | |
9 | Unless required by applicable law or agreed to in writing, software |
10 | distributed under the License is distributed on an "AS IS" BASIS, |
11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 | See the License for the specific language governing permissions and |
13 | limitations under the License. |
14 | ==============================================================================*/ |
15 | |
16 | #ifndef TENSORFLOW_CORE_PLATFORM_ENV_H_ |
17 | #define TENSORFLOW_CORE_PLATFORM_ENV_H_ |
18 | |
19 | #include <stdint.h> |
20 | |
21 | #include <memory> |
22 | #include <string> |
23 | #include <unordered_map> |
24 | #include <vector> |
25 | |
26 | #include "tensorflow/core/platform/env_time.h" |
27 | #include "tensorflow/core/platform/errors.h" |
28 | #include "tensorflow/core/platform/file_system.h" |
29 | #include "tensorflow/core/platform/macros.h" |
30 | #include "tensorflow/core/platform/mutex.h" |
31 | #include "tensorflow/core/platform/numa.h" |
32 | #include "tensorflow/core/platform/platform.h" |
33 | #include "tensorflow/core/platform/protobuf.h" |
34 | #include "tensorflow/core/platform/status.h" |
35 | #include "tensorflow/core/platform/stringpiece.h" |
36 | #include "tensorflow/core/platform/types.h" |
37 | #include "tensorflow/tsl/platform/env.h" |
38 | |
39 | namespace tensorflow { |
40 | // NOLINTBEGIN(misc-unused-using-decls) |
41 | using tsl::Env; |
42 | using tsl::EnvWrapper; |
43 | using tsl::FileSystemCopyFile; |
44 | using tsl::ReadBinaryProto; |
45 | using tsl::ReadFileToString; |
46 | using tsl::ReadTextOrBinaryProto; |
47 | using tsl::ReadTextProto; |
48 | using tsl::setenv; |
49 | using tsl::Thread; |
50 | using tsl::ThreadOptions; |
51 | using tsl::unsetenv; |
52 | using tsl::WriteBinaryProto; |
53 | using tsl::WriteStringToFile; |
54 | using tsl::WriteTextProto; |
55 | namespace register_file_system { |
56 | using tsl::register_file_system::Register; |
57 | } // namespace register_file_system |
58 | // NOLINTEND(misc-unused-using-decls) |
59 | } // namespace tensorflow |
60 | |
61 | #endif // TENSORFLOW_CORE_PLATFORM_ENV_H_ |
62 |