5 circledump is a tool that dumps binary circle file into human readable text to console.
7 circledump is implemented with C++ not python. We can do the same thing much easier
8 with python but this tool doesn't need to install TensorFlow python package.
10 Schema for FlatBuffer used is from TensorFlow v1.13.1 release.
18 - Print weight values other than uint8_t
23 Command argument format:
25 circledump circle_file
28 Example output of dump `readme.circle` file
33 CHANNEL_LAST (NHWC for 2d, NDHWC for 3d data)
35 Operator Codes: [order] OpCodeName (OpCode Enum)
38 Buffers: B(index) (length) values, if any
40 B(1) (8) 0x94 0x5b 0x95 0xbf 0x42 0xa4 0x52 0xbf ...
41 B(2) (4) 0xcd 0xcc 0x8c 0x3f
43 Operands: T(tensor index) TYPE (shape) B(buffer index) OperandName
44 T(0) FLOAT32 (1, 3, 3, 2) B(0) ifm
45 T(1) FLOAT32 (1, 1, 1, 2) B(1) ker
46 T(2) FLOAT32 (1) B(2) bias
47 T(3) FLOAT32 (1, 3, 3, 1) B(0) ofm
49 Operators: O(operator index) OpCodeName
50 Option(values) ... <-- depending on OpCode
51 I T(tensor index) OperandName <-- as input
52 O T(tensor index) OperandName <-- as output
54 Padding(1) Stride.W(1) Stride.H(1) Activation(0)
60 Inputs/Outputs: I(input)/O(output) T(tensor index) OperandName