ExperimentalDatasetToTFRecord

public final class ExperimentalDatasetToTFRecord

Writes the given dataset to the given file using the TFRecord format.

Public Methods

static ExperimentalDatasetToTFRecord
create(Scope scope, Operand<?> inputDataset, Operand<String> filename, Operand<String> compressionType)
Factory method to create a class wrapping a new ExperimentalDatasetToTFRecord operation.

Inherited Methods

org.tensorflow.op.PrimitiveOp
final boolean
equals(Object obj)
final int
Operation
op()
Returns the underlying Operation
final String
boolean
equals(Object arg0)
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Public Methods

public static ExperimentalDatasetToTFRecord create (Scope scope, Operand<?> inputDataset, Operand<String> filename, Operand<String> compressionType)

Factory method to create a class wrapping a new ExperimentalDatasetToTFRecord operation.

Parameters
scope current scope
inputDataset 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".
Returns
  • a new instance of ExperimentalDatasetToTFRecord