| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
* Replace all COMPILER_MSVC to _MSC_VER and _WIN32 accordingly
* One more ARRAYSIZE to TF_ARRAYSIZE
* Delete non-existing include
|
|
|
|
|
|
|
|
| |
tensorflow::str_util equivalents.
This will allow the deprecated methods to be removed.
PiperOrigin-RevId: 191627087
|
|
|
|
| |
PiperOrigin-RevId: 191092932
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
absl::string_view equivalents.
This will allow for a more convenient transition to absl::string_view.
Calls to set StringPiece::set and StringPiece::clear were replaced with the StringPiece constructor as follows:
string_piece_foo.set(data, size) => string_piece_foo = StringPiece(data, size)
string_piece_foo.clear() => string_piece_foo = StringPiece()
PiperOrigin-RevId: 175326576
|
|
|
|
|
|
|
|
| |
Additionally:
- change single quotes to double quotes to make path rewriting easier
- guard windows lib reference with PLATFORM_WINDOWS
- fixed failing kmeans test
Change: 141515942
|
|
|
|
|
|
|
|
|
|
|
| |
Also done separately by @llhe at github.com/tensorflow/tensorflow/pull/5370. We needed to do this change internally to fix all callers.
Motivation: The existing FileExists interface doesn't allow callers to distinguish between file not found vs. filesystem errors.
Semantics changes:
- gfile.Exists in Python now throws an exception for filesystem errors. It continues to return true/false if it can accurately determine whether a file exists.
- RecursivelyCreateDir now returns errors for filesystem errors when calling FileExists.
Change: 138224013
|
|
|
|
|
|
| |
it for all subclasses except for GCS File System for now.
Change: 127282696
|
|
|
|
|
|
|
|
|
|
| |
Switches to return a std::unique_ptr<> to convey transfer of ownership.
Keeps existing functions temporarily for backwards compatibility.
Change file_system.h interface to switch entirely to the new interface,
change all callers. If this breaks someone in the public, the interface
change should be straightforward.
Change: 125127028
|
|
|
|
| |
Change: 123900938
|
|
|
|
| |
Change: 120261367
|
|
utility to convert a freezed graph into this format.
Change: 120128412
|