tensor-header-desk / native /example-overlap.json
WideChaos's picture
Publish Tensor Header Desk 0.1.0
b670b80 verified
Raw History Blame Contribute Delete
1.93 kB
{
"schema": "tensor-header-desk/0.1.0",
"status": "invalid",
"file_bytes": "117",
"header_bytes": "105",
"payload_start": "113",
"payload_bytes": "4",
"header_sha256": "fb161cbfd17921776863931f0a23cf7c4e663958fbb221a3cb97d78fe2ea69ec",
"header_json_utf8": "{\"a\":{\"dtype\":\"U8\",\"shape\":[3],\"data_offsets\":[0,3]},\"b\":{\"dtype\":\"U8\",\"shape\":[2],\"data_offsets\":[2,4]}}",
"declared_tensor_count": 2,
"descriptor_number_encoding": "JSON number lexemes are decimal strings in descriptor summaries. header_json_utf8 preserves exact original spelling, types, key order and whitespace.",
"hash_scope": "8-byte length prefix plus complete JSON header; tensor payload excluded",
"payload_read": false,
"limits": {
"header": 1048576,
"tensors": 10000,
"depth": 32
},
"tensors": [
{
"name": "a",
"descriptor": {
"dtype": "U8",
"shape": [
"3"
],
"data_offsets": [
"0",
"3"
]
},
"dtype": "U8",
"shape": [
"3"
],
"elements": "3",
"start": "0",
"end": "3",
"absolute_start": "113",
"absolute_end": "116",
"declared_bytes": "3",
"expected_bytes": "3"
},
{
"name": "b",
"descriptor": {
"dtype": "U8",
"shape": [
"2"
],
"data_offsets": [
"2",
"4"
]
},
"dtype": "U8",
"shape": [
"2"
],
"elements": "2",
"start": "2",
"end": "4",
"absolute_start": "115",
"absolute_end": "117",
"declared_bytes": "2",
"expected_bytes": "2"
}
],
"metadata": null,
"diagnostics": [
{
"code": "overlap",
"kind": "invalid",
"location": "tensor \"b\"",
"message": "Expected next offset 3, found 2"
}
],
"source_name": "Included example: overlap"
}