public final class DatasetToTfRecord extends PrimitiveOp
operation| Modifier and Type | Method and Description |
|---|---|
static DatasetToTfRecord |
create(Scope scope,
Operand<?> inputDataset,
Operand<String> filename,
Operand<String> compressionType)
Factory method to create a class wrapping a new DatasetToTfRecord operation.
|
equals, hashCode, op, toStringpublic static DatasetToTfRecord create(Scope scope, Operand<?> inputDataset, Operand<String> filename, Operand<String> compressionType)
scope - current scopeinputDataset - A variant tensor representing the dataset to write.filename - A scalar string tensor representing the filename to use.compressionType - A scalar string tensor containing either (i) the empty string (no
compression), (ii) "ZLIB", or (iii) "GZIP".Copyright © 2015–2019. All rights reserved.