Package org.jetbrains.kotlinx.dl.api.preprocessing

Types

Identity
Link copied to clipboard
class Identity<I> : Operation<I, I>

Identity operation which does nothing.

Operation
Link copied to clipboard
interface Operation<I, O>

Interface for preprocessing operations.

PreprocessingPipeline
Link copied to clipboard
class PreprocessingPipeline<I, M, O>(firstOp: Operation<I, M>, secondOp: Operation<M, O>) : Operation<I, O>

This class is a special type of Operation which is used to build typesafe pipeline of preprocessing operations. Kudos to @juliabeliaeva for the idea.

Functions

pipeline
Link copied to clipboard
fun <I> pipeline(): Identity<I>

An entry point for building preprocessing pipeline.