(reader, position)
| 33 | dlc.v3.Tensor = class Tensor { |
| 34 | |
| 35 | static decode(reader, position) { |
| 36 | const $ = new dlc.v3.Tensor(); |
| 37 | $.name = reader.string_(position, 4, null); |
| 38 | $.shape = reader.array(position, 6, Int32Array); |
| 39 | $.data = reader.table(position, 8, dlc.v3.TensorData); |
| 40 | $.attributes = reader.tables(position, 10, dlc.v3.Attribute); |
| 41 | return $; |
| 42 | } |
| 43 | }; |
| 44 | |
| 45 | dlc.v3.TensorData = class TensorData { |