File size: 1,933 Bytes
b670b80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
  "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"
}