deepr.prepros.ToExample

class deepr.prepros.ToExample(fields, sequence=None, modes=None, num_parallel_calls=None)[source]

Convert dictionary of Tensors to tf.SequenceExample.

__init__(fields, sequence=None, modes=None, num_parallel_calls=None)[source]

Methods

__init__(fields[, sequence, modes, ...])

apply(dataset[, mode])

Pre-process a dataset

Attributes

tf_map_func

Return final map function.