Custom types#
Flytekit ships with an extensible type system to make it easy for anyone to extend and add new types.
Note
To contribute a Flyte type, see the extensibility contribution guide.
StructuredDataset type#
This is the user facing StructuredDataset class. |
|
File type#
This can be used to denote that the returned file is of type hdf5 and can be received by other tasks that accept an hdf5 format. |
|
Can be used to receive or return an HTMLPage. |
|
This File represents a file that was serialized using joblib.dump method can be loaded back using joblib.load. |
|
Can be used to receive or return an JPEGImage. |
|
Can be used to receive or return an PDFFile. |
|
Can be used to receive or return an PNGImage. |
|
This type can be used when a serialized Python pickled object is returned and shared between tasks. |
|
This type is used to identify a Python notebook file. |
|
Can be used to receive or return an SVGImage. |
Directory type#
This type can be used to denote that the output is a folder that contains logs that can be loaded in TensorBoard. |
|
This type can be used to denote that the output is a folder that contains tensorflow record files. |
Iterator type#
alias of |
PyTorch type#
This class is helpful to save a checkpoint. |
|
TypeTransformer that supports serializing and deserializing checkpoint. |
|
Tensorflow type#
TypeTransformer that supports serialising and deserialising to and from TFRecord file. |
|
TypeTransformer that supports serialising and deserialising to and from TFRecord directory. |