Creates a dataset that invokes a function to generate elements.
View aliases
Compat aliases for migration
See Migration guide for more details.
tf.raw_ops.GeneratorDataset(
init_func_other_args,
next_func_other_args,
finalize_func_other_args,
init_func,
next_func,
finalize_func,
output_types,
output_shapes,
metadata='',
name=None
)
Args | |
---|---|
init_
|
A list of Tensor objects.
|
next_
|
A list of Tensor objects.
|
finalize_
|
A list of Tensor objects.
|
init_
|
A function decorated with @Defun. |
next_
|
A function decorated with @Defun. |
finalize_
|
A function decorated with @Defun. |
output_
|
A list of tf. that has length >= 1 .
|
output_
|
A list of shapes (each a tf.TensorShape or list of ints ) that has length >= 1 .
|
metadata
|
An optional string . Defaults to "" .
|
name
|
A name for the operation (optional). |
Returns | |
---|---|
A Tensor of type variant .
|