A city weather-kiosk helper mixes regex, a forward pass, and email sending in one long function. How should that framework project be split?
Select an answer to reveal the explanation.
Short Explanation
Regex, a forward pass, and email in one long function hide the project shape. Split tokenize-and-encode, the model call, and decode or label-map, then let the app send mail. A CUDA kernel that also sends email is not a framework project.
Full Explanation
Associate project shape is preprocess, model, then postprocess: prepare tensors, run the model, and turn outputs into app fields before any email is sent. One tangled function hides those stages and is harder to test or serve. A CUDA kernel that also sends mail is not a framework project. This helper is application code, not a datacenter runbook.