https://flyte.org logo
#ask-the-community
Title
# ask-the-community
s

seunggs

11/23/2022, 2:16 PM
Copy code
TrainingOutputs = typing.NamedTuple(
    "TrainingOutputs",
    model_state=FlyteFile,
)

def train_task(hp: Hyperparameters) -> TrainingOutputs:
    ...
    return TrainingOutputs(model_state=FlyteFile(MODEL_PATH))