Type TFRecordOptions
Namespace tensorflow.io
Parent PythonObjectContainer
Interfaces ITFRecordOptions
Options used for manipulating TFRecord files.
Methods
- get_compression_type_string_dyn<TClass>
- get_compression_type_string<TClass>
- get_compression_type_string<TClass>
- get_compression_type_string<TClass>
- get_compression_type_string<TClass>
Properties
Public static methods
object get_compression_type_string_dyn<TClass>(object options)
Convert various option types to a unified string.
Parameters
-
object
options - `TFRecordOption`, `TFRecordCompressionType`, or string.
Returns
-
object
- Compression type as string (e.g. `'ZLIB'`, `'GZIP'`, or `''`).
TClass get_compression_type_string<TClass>(TFRecordCompressionType options)
Convert various option types to a unified string.
Parameters
-
TFRecordCompressionType
options - `TFRecordOption`, `TFRecordCompressionType`, or string.
Returns
-
TClass
- Compression type as string (e.g. `'ZLIB'`, `'GZIP'`, or `''`).
TClass get_compression_type_string<TClass>(TFRecordOptions options)
Convert various option types to a unified string.
Parameters
-
TFRecordOptions
options - `TFRecordOption`, `TFRecordCompressionType`, or string.
Returns
-
TClass
- Compression type as string (e.g. `'ZLIB'`, `'GZIP'`, or `''`).
TClass get_compression_type_string<TClass>(int options)
Convert various option types to a unified string.
Parameters
-
int
options - `TFRecordOption`, `TFRecordCompressionType`, or string.
Returns
-
TClass
- Compression type as string (e.g. `'ZLIB'`, `'GZIP'`, or `''`).
TClass get_compression_type_string<TClass>(string options)
Convert various option types to a unified string.
Parameters
-
string
options - `TFRecordOption`, `TFRecordCompressionType`, or string.
Returns
-
TClass
- Compression type as string (e.g. `'ZLIB'`, `'GZIP'`, or `''`).