1. Creating Transform Graphs¶
1.1. Concept¶
A Transform Graph
- represents a
pipeline
orgraph
oftasks
that need to be executed from start to finish, with any number of intermediatetasks
, and with any number ofconnections
(flow of data from one task to another) between the tasks - For Machine Learning and Deep Learning workloads, the Transform Graph can be used for preprocessing data, training models, inferencing using trained models and other complex machine learning pipelines
1.2. Creating a Transform Graph¶
The video below shows the steps to create a simple Transform Graph
. This transform graph has 2 nodes (or transforms): each node simply copies its input to its output
!!! tip Pre-requisite: Create Transform
s as described in Create Transforms.
A transform graph
is created by
- defining
tasks
(ornodes
) in the graph: Eachtask
represents a unit of processing, which is defined using a Transform - each
task
receives its input- from another task in the graph or pipeline: achieved by connecting one
task
to another in the graph. the connection represents the flow of data from the output of onetask
to the input of another. - a
task
can also have its input from Infinsnap, Infinslice or an mlflow run's output.
- from another task in the graph or pipeline: achieved by connecting one