DALI Dynamic Mode Purpose Guide AI agents in writing, reviewing, and migrating code that uses DALI's imperative dynamic-mode API, ( ). Instructions - Import dynamic mode as and write code as direct calls in ordinary Python; do not use pipeline-mode APIs such as , , , or . - Treat readers as stateful: create them once, reuse them across epochs, and pass to . - Pass explicit to random ops; there is no pipeline-level batch size to inherit. - Use dynamic-mode API conventions: instead of pipeline-mode , for sample selection, and for per-sample slicing. - Use to convert a tensor or batch to a PyTor…