Tensor Profile
The tensor profile targets numeric blocks, region-oriented payloads, and structured numeric results.
Good-fit scenarios
- Real-time enhanced rendering.
- Image or video enhancement pipelines with structured numeric output.
- Any result that needs shape, layout, and dtype together for interpretation.
Reading path
- Start with Descriptor Common Header to understand shared fields such as
profile_id,schema_id,stream_semantics,offset, andlength. - Continue with Schema and Body to see which fields tensor adds on top of the shared descriptor.
- Finish with Payload Frame to see how the real binary tensor chunk is anchored by the descriptor and body.
Packet skeleton
Mock Dump Example
This is not a byte-accurate wire dump. It is a JSON-style mock dump that keeps the whole structure readable while the child pages break down each part in more detail.
json
{
"message_type": "RESULT_PUSH",
"common_header": {
"version_major": 1,
"wire_format": 0,
"msg_type": "RESULT_PUSH",
"header_len": 40,
"meta_len": 32,
"body_len": 80,
"session_id": "0x00000012",
"frame_id": "0x0000048a",
"view_id": "0x00000007",
"route_id": "0x00000002",
"trace_id": "0x4f9c9b31b26d40d2"
},
"fixed_metadata": {
"result_status": "partial",
"flow_scope": "operation",
"flow_credit_delta": 2
},
"typed_payload_descriptor": {
"profile_id": "tensor",
"schema_id": "im.render.tile.v1",
"schema_version": 1,
"stream_semantics": "region_partial",
"offset": 0,
"length": 3145728,
"descriptor_flags": ["degraded_allowed", "coverage_present"]
},
"profile_body": {
"tensor": {
"dtype": "f16",
"shape": [1, 3, 512, 512],
"layout": "nchw",
"coverage": {
"tile_x": 12,
"tile_y": 7,
"width": 512,
"height": 512
}
}
},
"payload_frame": {
"tensor_chunk": "<1536 KiB binary tensor payload>"
}
}Semantics people care about first
partialmeans the current numeric result is already usable but not final.degradedmeans the result is still consumable but quality, precision, or provenance changed.stale_reusemeans the result comes from reused older context rather than a fresh full computation.