CaliperTensor¶
CaliperTensor is the frozen type, aligned with DLPack, that describes a block of memory by dtype, shape, strides, device and stream, so that a tensor passes into a service without a copy.
| Field | Value |
|---|---|
| ID | COR-49 |
| Status | Shipped |
| Scope | Core |
| Pillar | Core Runtime and SDK |
| Sprint | None |
| Depends On | Frozen Applet ABI (COR-02) |
| Unblocks | Tensor Views in Caliper Embed (EMB-25)Tensor Bridge Service ( REN-64)Torch Adapter ( REN-66) |
| Docs | Tensor and Arrow Headers, Tensor Header |
| Branches | None |
| Design | None |
Coverage Ledger¶
- Service Catalog, Companion Types. CaliperTensor and the Arrow C Data Interface are the two interchange types the services pass.
- Tensor and Arrow Headers, Tensor Header. caliper/tensor.h is the frozen DLPack-aligned tensor interchange type, a type and not a service.