- to
Writes TFRecord file(s) with a prefix given by the specified resource.In
addition to their prefix, c
- withCompression
Writes to output files using the specified compression type.If no compression
type is specified, the
- withNumShards
Writes to the provided number of shards.Constraining the number of shards is
likely to reduce the pe
- withShardNameTemplate
Uses the given shard name template.
- getCompression
Option to indicate the output sink's compression type. Default is NONE.
- getFilenameSuffix
The suffix of each file written, combined with prefix and shardTemplate.
- getNumShards
Requested number of shards. 0 for automatic.
- getOutputPrefix
The directory to which files will be written.
- getShardTemplate
The shard template of each file written, combined with prefix and suffix.
- toResource
Like #to(ResourceId).
- withSuffix
Writes to the file(s) with the given filename suffix.
- withoutSharding
Forces a single file as output.Constraining the number of shards is likely to
reduce the performance