tf.raw_ops.GeneratorDataset

Creates a dataset that invokes a function to generate elements.

init_func_other_argsA list of Tensor objects.
next_func_other_argsA list of Tensor objects.
finalize_func_other_argsA list of Tensor objects.
init_funcA function decorated with @Defun.
next_funcA function decorated with @Defun.
finalize_funcA function decorated with @Defun.
output_typesA list of tf.DTypes that has length >= 1.
output_shapesA list of shapes (each a tf.TensorShape or list of ints) that has length >= 1.
metadataAn optional string. Defaults to "".
nameA name for the operation (optional).

A Tensor of type variant.