ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

SnapshotDataset.Options

public static class SnapshotDataset.Options

Optional attributes for SnapshotDataset

Public Methods

SnapshotDataset.Options
compression(String compression)
SnapshotDataset.Options
mode(String mode)
SnapshotDataset.Options
numReaderThreads(Long numReaderThreads)
SnapshotDataset.Options
numWriterThreads(Long numWriterThreads)
SnapshotDataset.Options
pendingSnapshotExpirySeconds(Long pendingSnapshotExpirySeconds)
SnapshotDataset.Options
readerBufferSize(Long readerBufferSize)
SnapshotDataset.Options
readerPathPrefix(String readerPathPrefix)
SnapshotDataset.Options
seed(Long seed)
SnapshotDataset.Options
seed2(Long seed2)
SnapshotDataset.Options
shardSizeBytes(Long shardSizeBytes)
SnapshotDataset.Options
shuffleOnRead(Boolean shuffleOnRead)
SnapshotDataset.Options
snapshotName(String snapshotName)
SnapshotDataset.Options
writerBufferSize(Long writerBufferSize)
SnapshotDataset.Options
writerPathPrefix(String writerPathPrefix)

Inherited Methods

Public Methods

public SnapshotDataset.Options compression (String compression)

public SnapshotDataset.Options mode (String mode)

public SnapshotDataset.Options numReaderThreads (Long numReaderThreads)

public SnapshotDataset.Options numWriterThreads (Long numWriterThreads)

public SnapshotDataset.Options pendingSnapshotExpirySeconds (Long pendingSnapshotExpirySeconds)

public SnapshotDataset.Options readerBufferSize (Long readerBufferSize)

public SnapshotDataset.Options readerPathPrefix (String readerPathPrefix)

public SnapshotDataset.Options seed (Long seed)

public SnapshotDataset.Options seed2 (Long seed2)

public SnapshotDataset.Options shardSizeBytes (Long shardSizeBytes)

public SnapshotDataset.Options shuffleOnRead (Boolean shuffleOnRead)

public SnapshotDataset.Options snapshotName (String snapshotName)

public SnapshotDataset.Options writerBufferSize (Long writerBufferSize)

public SnapshotDataset.Options writerPathPrefix (String writerPathPrefix)