DagModule

abstract class DagModule(source)

A reusable sub-graph module that can be instantiated within a DagBuilder.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun DagBuilder.apply(inputs: List<GraphValue<*>>): List<GraphValue<*>>

Define the sub-graph logic.