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_NUMBERS_H_ |
17 | #define TENSORFLOW_CORE_PLATFORM_NUMBERS_H_ |
18 | |
19 | #include <string> |
20 | |
21 | #include "tensorflow/core/platform/stringpiece.h" |
22 | #include "tensorflow/core/platform/types.h" |
23 | #include "tensorflow/tsl/platform/numbers.h" |
24 | |
25 | namespace tensorflow { |
26 | namespace strings { |
27 | // NOLINTBEGIN(misc-unused-using-decls) |
28 | using tsl::strings::DoubleToBuffer; |
29 | using tsl::strings::FastInt32ToBufferLeft; |
30 | using tsl::strings::FastInt64ToBufferLeft; |
31 | using tsl::strings::FastUInt32ToBufferLeft; |
32 | using tsl::strings::FastUInt64ToBufferLeft; |
33 | using tsl::strings::FloatToBuffer; |
34 | using tsl::strings::FpToString; |
35 | using tsl::strings::HexStringToUint64; |
36 | using tsl::strings::HumanReadableElapsedTime; |
37 | using tsl::strings::HumanReadableNum; |
38 | using tsl::strings::HumanReadableNumBytes; |
39 | using tsl::strings::kFastToBufferSize; |
40 | using tsl::strings::ProtoParseNumeric; |
41 | using tsl::strings::safe_strto32; |
42 | using tsl::strings::safe_strto64; |
43 | using tsl::strings::safe_strtod; |
44 | using tsl::strings::safe_strtof; |
45 | using tsl::strings::safe_strtou32; |
46 | using tsl::strings::safe_strtou64; |
47 | using tsl::strings::SafeStringToNumeric; |
48 | using tsl::strings::StringToFp; |
49 | using tsl::strings::Uint64ToHexString; |
50 | // NOLINTEND(misc-unused-using-decls) |
51 | } // namespace strings |
52 | } // namespace tensorflow |
53 | |
54 | #endif // TENSORFLOW_CORE_PLATFORM_NUMBERS_H_ |
55 | |