| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Change a couple of fscanf-style format strings to use the format macro
constants defined in cinttypes. This quashes -Wformat.
PiperOrigin-RevId: 216545604
|
|
|
|
| |
PiperOrigin-RevId: 214279868
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MD fetching method.
TFRecord files do not contain a file-level header that describes the
MD of the file. To avoid backwards compatibility issues, we add a
lightweight function that computes the statistics over the file once
and caches the result for future calls.
A future implementor could do a better job of computing GetMetadata() by
having the RecordWriter emit these entries during writing so that
GetMetadata() only reads. Doing so will require additional backwards
compatibility checks to ensure that the function works both for old
TFRecords and the new format.
PiperOrigin-RevId: 214178704
|
|
|
|
|
|
| |
into the number of shards used. This is a variant of threadpool::parallelFor
PiperOrigin-RevId: 213920649
|
|
|
|
| |
PiperOrigin-RevId: 213008707
|
|
|
|
| |
PiperOrigin-RevId: 212851417
|
|
|
|
| |
PiperOrigin-RevId: 212736286
|
|
|
|
| |
PiperOrigin-RevId: 212293765
|
|
|
|
| |
PiperOrigin-RevId: 212289067
|
|
|
|
| |
PiperOrigin-RevId: 211895566
|
|
|
|
|
|
| |
Plumb these through to RecordWriterOptions
PiperOrigin-RevId: 211894734
|
|
|
|
| |
PiperOrigin-RevId: 211639440
|
|
|
|
|
|
| |
value}}` and `^^key:value^^`. This change consolidate these two format.
PiperOrigin-RevId: 211550259
|
|
|
|
|
|
| |
is first of a series of CL to merge these into one. In this change, we remove the format tag from the errors.
PiperOrigin-RevId: 211146036
|
|
|
|
| |
PiperOrigin-RevId: 211110958
|
|
|
|
|
|
|
|
| |
values.
This is necessary in order to replace tensorflow::strings::StrCat with absl::StrCat.
PiperOrigin-RevId: 211087745
|
|
|
|
|
|
|
|
|
|
|
|
| |
original change.
This CL fixes additional two CI tests that broke due to the changed bfloat16 behavior.
==================================================
Automated rollback of commit 37b2b0eb613b6c3c66b96374851cfd95050346a0
PiperOrigin-RevId: 211031073
|
|
|
|
|
|
|
|
| |
There are several API migrations happening:
* ArraySlice's sub-slice constructor => .subspan
* MutableArraySlice's container pointer constructor => absl::MakeSpan
PiperOrigin-RevId: 210946124
|
|
|
|
| |
PiperOrigin-RevId: 210929192
|
|
|
|
| |
PiperOrigin-RevId: 210596417
|
|
|
|
|
|
| |
This will make it easier to replace tensorflow::StringPiece with absl::string_view, as absl::string_view does not contain a ToString method.
PiperOrigin-RevId: 210550029
|
|
|
|
|
|
| |
absl::Span, so that transitioning to the latter is easier.
PiperOrigin-RevId: 210461037
|
|
|
|
|
|
|
|
|
|
| |
conversions.
That is, instances of sp.ToString() are replaced with string(sp).
This will allow tensorflow::StringPiece::ToString to be removed, which is necessary before it can be replaced with absl::string_view.
PiperOrigin-RevId: 210394878
|
|
|
|
| |
PiperOrigin-RevId: 210127626
|
|
|
|
| |
PiperOrigin-RevId: 210116745
|
|
|
|
|
|
| |
default. The motivation is that rounding achieves better accuracy than truncation.
PiperOrigin-RevId: 209985826
|
|
|
|
|
|
|
|
| |
That is, instances of sp.ToString() are replaced with string(sp).
This will allow tensorflow::StringPiece::ToString to be removed, which is necessary before it can be replaced with absl::string_view.
PiperOrigin-RevId: 209806694
|
|
|
|
| |
PiperOrigin-RevId: 209679086
|
|
|
|
|
|
| |
operator.
PiperOrigin-RevId: 209050419
|
|\
| |
| |
| | |
PiperOrigin-RevId: 208076674
|
| |
| |
| |
| | |
PiperOrigin-RevId: 207596283
|
| |
| |
| |
| |
| |
| | |
writing when writer_ destructor is called
PiperOrigin-RevId: 207355721
|
| |
| |
| |
| |
| |
| |
| | |
The format used is as follows:
{{node <node_name>}}
PiperOrigin-RevId: 206370355
|
| |
| |
| |
| | |
(remove tRNS chunk)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
decide
whether bfloat16 casts should use truncation or rounding.
This is a preparatory change before we switch the default float ==> bfloat16 cast
to use rounding instead of truncation. The attribute added can then be specified
on casts that rely on the truncation, e.g., the TensorFlow send/receive operations.
It later emerged that the choice of doing truncation is useful more generally.
Therefore, this change allows the new attribute to be used by all relevant casts
to use truncation instead of rounding.
PiperOrigin-RevId: 205996367
|
|\ \
| | |
| | |
| | | |
PiperOrigin-RevId: 205466416
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Requires changing flush_mode from default Z_NO_FLUSH
See tensorflow/core/lib/io/zlib_compression_options.h
PiperOrigin-RevId: 205293231
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
RefCountPtr that uses this deleter.
This class can be used to automate the management of ref-owned objects.
PiperOrigin-RevId: 205217510
|
| | | |
|
|/ /
| |
| |
| | |
PiperOrigin-RevId: 205002413
|
| |
| |
| |
| |
| |
| |
| |
| | |
convert lena_std.png -scale '51x26!' png8:lena_palette.png
convert lena_rgba.png png8:lena_palette_trns.png
- update python test script
- update core/BUILD file
|
| |
| |
| |
| | |
PiperOrigin-RevId: 203037623
|
| |
| |
| |
| | |
PiperOrigin-RevId: 203007540
|
| |
| |
| |
| | |
PiperOrigin-RevId: 202030418
|
|/
|
|
| |
Problem: In the case of palette png & channels=0, force into grayscale.
|
|
|
|
|
|
| |
it has been done in RandomAccessFile::Read().
PiperOrigin-RevId: 199873976
|
|
|
|
| |
PiperOrigin-RevId: 199533243
|
|
|
|
| |
PiperOrigin-RevId: 198878259
|
|
|
|
| |
PiperOrigin-RevId: 198815200
|
|
|
|
|
|
| |
correctness
PiperOrigin-RevId: 198812512
|