API Reference

Base classes

Base classes to create your data operations.

Map

These operations will let you transform your data.

map.map.Map()

map.numpymap.NumpyMap(out_type[, stateful])

map.pythonfunctionmap.PythonFunctionMap(out_type)

flatmap.FlatMap()

Base class for flat mapping opertaions.

Lambda Map

Shorthand version of the mapping operations.

lambdamap.lambdamap.LambdaMap(map)

Class for inline mapping operations.

lambdamap.numpylambdamap.NumpyLambdaMap(...)

Base class for inline mapping operations that require numpy arrays.

lambdamap.pythonfunctionlambdamap.PythonFunctionLambdaMap(...)

Base class for inline mapping operations with arbitrary python code.

Filter

These operations will let you filter your data.

filter.filter.Filter()

Base class for Filtering operations

filter.numpyfilter.NumpyFilter([stateful])

Base class for filtering operations that require numpy arrays.

filter.pythonfunctionfilter.PythonFunctionFilter()

Base class for filtering operations with arbitrary python code.

Compose

These operations will help you compose your transoformations together to create your pipelines.

pipeline.Pipeline(dataset_operations)

Composite of Dataset Operations.

datasetoperation.DatasetOperation()

Base class for dataset operations.

Operations

Ready to use operations.

batch.Batch(batch_size, drop_remainder)

Dataset batching operation.

skip.Skip(count)

Dataset skip operation.

take.Take(count)

Dataset take operation.

Utilities

Operations to help debug with debugging pipelines.

util.print.Print([name])

Print tensor operation.

util.printshape.PrintShape([name])

Print tensor shape operation.