oa::TrainingProgram
TrainingProgram class in the OA Ml public surface.
Public Methods
Constructor & Destructor Documentation
Public Method Documentation
No public source comment is attached to this declaration.
Returns
oa::U32The declared return value.
compile the engine's currently recorded fixed-shape step. On success the source graph is cleared without execution and this program becomes its sole executable owner. On failure the source graph is left intact so the caller may execute it eagerly or diagnose the rejected node. The engine and its vulkan device must outlive this program.
Parameters
inEngineoa::Engine &—
inOptionsconst TrainingProgramOptions &Default: {}
Returns
oa::StatusThe declared return value.
No public source comment is attached to this declaration.
Returns
oa::U32The declared return value.
No public source comment is attached to this declaration.
Returns
oa::Span<const oa::CapturedResourceDesc>The declared return value.
No public source comment is attached to this declaration.
Parameters
inNameoa::StringViewDefault: "TrainingStep"
Returns
oa::StringThe declared return value.
No public source comment is attached to this declaration.
Returns
oa::Span<const TrainingCompilationStageRecord>The declared return value.
No public source comment is attached to this declaration.
Parameters
inNameoa::StringViewDefault: "TrainingStep"
Returns
oa::StringThe declared return value.
No public source comment is attached to this declaration.
Returns
oa::BoolThe declared return value.
No public source comment is attached to this declaration.
Returns
oa::F64The declared return value.
No public source comment is attached to this declaration.
Returns
const oa::SemanticLoweringAnalysis &The declared return value.
No public source comment is attached to this declaration.
Returns
oa::U64The declared return value.
No public source comment is attached to this declaration.
Returns
oa::U32The declared return value.
No public source comment is attached to this declaration.
Returns
oa::U32The declared return value.
No public source comment is attached to this declaration.
Returns
oa::U64The declared return value.
Non-blocking submit. Same-queue replays are ordered by vulkan; call wait() before mapped host reads or resource mutation from the CPU.
Returns
oa::StatusThe declared return value.
No public source comment is attached to this declaration.
Returns
oa::Result<oa::Event>The declared return value.
wait for pending work, release the compiled plan and all retained buffers.
Returns
oa::StatusThe declared return value.
No public source comment is attached to this declaration.
Parameters
inNameoa::StringViewDefault: "TrainingStep"
Returns
oa::StringThe declared return value.
No public source comment is attached to this declaration.
Returns
const oa::SemanticGraph &The declared return value.
No public source comment is attached to this declaration.
Returns
oa::U32The declared return value.
No public source comment is attached to this declaration.
Returns
oa::Span<const oa::SemanticStorageBinding>The declared return value.
No public source comment is attached to this declaration.
Returns
oa::GraphStatsThe declared return value.
No public source comment is attached to this declaration.
Returns
oa::StatusThe declared return value.