tenzr::CachedExecutable¶
A compiled PJRT executable together with its hash and the shape and dtype descriptors of its inputs and outputs.
#include <jit_cache.h>
Public Functions¶
| Name | |
|---|---|
| ~CachedExecutable() Destroy the wrapped PJRT loaded executable, tolerating a missing runtime API. |
Public Attributes¶
| Name | |
|---|---|
| uint64_t | hash Hash key identifying the compiled graph. |
| PJRT_LoadedExecutable * | executable Loaded PJRT executable handle, null until materialized. |
| std::vector< Shape > | in_shapes Path-neutral input descriptor, in executable argument order. |
| std::vector< DType > | in_dtypes |
| std::vector< Shape > | out_shapes Path-neutral output descriptor, in executable output order. |
| std::vector< DType > | out_dtypes |
Public Functions Documentation¶
function ~CachedExecutable¶
Destroy the wrapped PJRT loaded executable, tolerating a missing runtime API.
Public Attributes Documentation¶
variable hash¶
Hash key identifying the compiled graph.
variable executable¶
Loaded PJRT executable handle, null until materialized.
variable in_shapes¶
Path-neutral input descriptor, in executable argument order.
variable in_dtypes¶
variable out_shapes¶
Path-neutral output descriptor, in executable output order.