3 _circle-tensordump_ allows users to retrieve tensor information from a Circle model file
9 dump tensors in circle file
12 $ ./circle-tensordump --tensors ../luci/tests/Conv2D_000.circle
14 ----------------------------------------------------------------------
16 └── shape : (1, 3, 3, 2)
18 ----------------------------------------------------------------------
20 ├── shape : (1, 1, 1, 2)
24 └── data : 0.727939, 0.320132,
26 ----------------------------------------------------------------------
34 ----------------------------------------------------------------------
36 └── shape : (1, 3, 3, 1)
41 dump tensors in circle file to hdf5 file
44 $ ./circle-tensordump --tensors_to_hdf5 ../luci/tests/Conv2D_000.circle output_path.h5
45 $ h5dump output_path.h5
47 HDF5 "output_path.h5" {
51 DATATYPE H5T_IEEE_F32LE
52 DATASPACE SIMPLE { ( 1 ) / ( 1 ) }
62 DATATYPE H5T_IEEE_F32LE
63 DATASPACE SIMPLE { ( 1, 1, 1, 2 ) / ( 1, 1, 1, 2 ) }
65 (0,0,0,0): 0.727939, 0.320132