warp.capture_save#
- warp.capture_save(graph, path, inputs=None, outputs=None)[source]#
Serialize a captured graph to a
.wrpfile for later replay.The graph must have been captured with
apic=True.- Parameters:
If the same array appears in both
inputsandoutputs(e.g., for in-place operations), both names will refer to the same memory region. Updating either viaset_paramon the loaded graph affects the same data.