| D | tf_record.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 31 ZLIB = 1 variable in TFRecordCompressionType 42 TFRecordCompressionType.ZLIB: "ZLIB", 57 # pylint: disable=line-too-long 63 and in the [zlib manual](http://www.zlib.net/manual.html). 67 compression_type: `"GZIP"`, `"ZLIB"`, or `""` (no compression). 83 # pylint: enable=line-too-long 105 Compression type as string (e.g. `'ZLIB'`, `'GZIP'`, or `''`). 171 """Creates a reader that allows random-access reads from a TFRecords file. 175 - `read(offset)`, which returns a tuple of `(record, ending_offset)`, where [all …]
|