ONNX Model (Proto) File  : /home/ubuntu/workspace/models/model_opset_11.onnx  
TIDL Network File      : /home/ubuntu/workspace/models/model_opset_11/model_opset_11.bin  
TIDL IO Info File      : /home/ubuntu/workspace/models/model_opset_11/model_opset_11_config  
Current ONNX OpSet Version   : 11  
Running tidl_optimizeNet 
Completed tidl_optimizeNet 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Raw data format used is same as inElementType 0 
Num of Layer Detected :   7 
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  Num|TIDL Layer Name               |Out Data Name                                     |Group |#Ins  |#Outs |Inbuf Ids                       |Outbuf Id |In NCHW                             |Out NCHW                            |MACS       |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    0|TIDL_DataLayer                |526_original                                      |     0|    -1|     1|  x   x   x   x   x   x   x   x |  0       |       0        0        0        0 |       1      128       64      192 |         0 |
    1|TIDL_BatchNormLayer           |526                                               |     0|     1|     1|  0   x   x   x   x   x   x   x |  1       |       1      128       64      192 |       1      128       64      192 |   1572864 |
    2|TIDL_ConvolutionLayer         |529                                               |     0|     1|     1|  1   x   x   x   x   x   x   x |  2       |       1      128       64      192 |       1      128       64      192 |1815085056 |
    3|TIDL_ConvolutionLayer         |hm                                                |     0|     1|     1|  2   x   x   x   x   x   x   x |  3       |       1      128       64      192 |       1        8       64      192 |  12582912 |
    4|TIDL_BatchNormLayer           |531                                               |     0|     1|     1|  3   x   x   x   x   x   x   x |  4       |       1        8       64      192 |       1        8       64      192 |     98304 |
    5|TIDL_PoolingLayer             |532                                               |     0|     1|     1|  4   x   x   x   x   x   x   x |  5       |       1        8       64      192 |  
Processing config file #0 : /home/ubuntu/workspace/models/model_opset_11/conversion_script.txt.qunat_stats_config.txt 
      167888,      0.160 0x7fc9f1945010
Network File Read done
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  Num|TIDL Layer Name               |Group |#Ins  |#Outs |Inbuf Ids                       |Outbuf Id |In NCHW                             |Out NCHW                            |
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    0|TIDL_DataLayer                |     0|    -1|     1|  x   x   x   x   x   x   x   x |  0       |       0        0        0        0 |       1      128       64      192 |
    1|TIDL_BatchNormLayer           |     1|     1|     1|  0   x   x   x   x   x   x   x |  1       |       1      128       64      192 |       1      128       64      192 |
    2|TIDL_ConvolutionLayer         |     1|     1|     1|  1   x   x   x   x   x   x   x |  2       |       1      128       64      192 |       1      128       64      192 |
    3|TIDL_ConvolutionLayer         |     1|     1|     1|  2   x   x   x   x   x   x   x |  3       |       1      128       64      192 |       1        8       64      192 |
    4|TIDL_BatchNormLayer           |     1|     1|     1|  3   x   x   x   x   x   x   x |  4       |       1        8       64      192 |       1        8       64      192 |
    5|TIDL_PoolingLayer             |     1|     1|     1|  4   x   x   x   x   x   x   x |  5       |       1        8       64      192 |       1        8       64      192 |
    6|TIDL_DataLayer                |     0|     1|    -1|  5   x   x   x   x   x   x   x |  0       |       1        8       64      192 |       0        0        0        0 |
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Calling algAlloc
TIDL_initDebugTraceParams Done 
Alg Alloc for Layer # -    0
Alg Alloc for Layer # -    1
Alg Alloc for Layer # -    2
Alg Alloc for Layer # -    3
Alg Alloc for Layer # -    4
Alg Alloc for Layer # -    5
Alg Alloc for Layer # -    6
Num,    Space,     SizeinBytes,   SineInMB
   0,    17,         9008,      0.009 0x55c8c1dce490
   1,    17,          112,      0.000 0x55c8c1dd07d0
   2,    17,        16384,      0.016 0x55c8c1dd0850
   3,    17,         1024,      0.001 0x55c8c1dd4860
   4,    17,        57344,      0.055 0x55c8c1dd4c70
   5,    17,         4064,      0.004 0x55c8c1de2c80
   6,    17,      3938840,      3.756 0x7fc95bf33010
   7,    17,          256,      0.000 0x55c8c1dca010
   8,    17,      9931136,      9.471 0x7fc95b5ba010
   9,    17,     13244416,     12.631 0x7fc95a918010
  10,    17,      4899200,      4.672 0x7fc95a46b010
  11,    17,       181696,      0.173 0x7fc9f180e010
  12,    17,          256,      0.000 0x55c8c1dc5850
Total External Memory (DDR) Size =     32283736,     30.788 
Alg Init for Layer # -    0
Alg Init for Layer # -    1
Alg Init for Layer # -    2
Alg Init for Layer # -    3
Alg Init for Layer # -    4
Alg Init for Layer # -    5
Alg Init for Layer # -    6

 Instance created for  /home/ubuntu/workspace/models/model_opset_11/conversion_script.txt.qunat_stats_config.txt

Processing Cnt :    0, InstCnt :    0 /home/ubuntu/workspace/models/model_opset_11/model_opset_11.bin!
     3310336,      3.157 0x7fc959fc1010
      116379,      0.111 0x55c8c1e06cb0
 ----------------------- TIDL Process with REF_ONLY FLOW ------------------------

#    0 . ..Starting Layer # -    1
   0    1.00000    0.00000  255.00000 0
Processing Layer # -    1
   1  128.00000    0.00000    0.99219 1
End of Layer # -    1
Starting Layer # -    2
Processing Layer # -    2
   2   16.00000    0.00000    9.43750 0
End of Layer # -    2
Starting Layer # -    3
Processing Layer # -    3
   3    4.00000  -16.75000   -1.75000 1
End of Layer # -    3
Starting Layer # -    4
Processing Layer # -    4
   4  512.00000    0.00000    0.15625 0
End of Layer # -    4
Starting Layer # -    5
Processing Layer # -    5
   5  512.00000    0.00000    0.15625 0
End of Layer # -    5
 T    1825.94  .... ..... ... .... .....
------------------ Network Compiler Traces -----------------------------
successful Memory allocation
     1        8       64      192 |    884736 |
    6|TIDL_DataLayer                |532                                               |     0|     1|    -1|  5   x   x   x   x   x   x   x |  0       |       1        8       64      192 |       0        0        0        0 |         0 |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total Giga Macs : 1.8302
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

~~~~~Running TIDL in PC emulation mode to collect Activations range for each layer~~~~~
cd /home/ubuntu/TIDL/ti_dl/test && ./PC_dsp_test_dl_algo.out s:/home/ubuntu/workspace/models/model_opset_11/conversion_script.txt.qunat_stats_config.txt
cp /home/ubuntu/TIDL/device_config.cfg /home/ubuntu/workspace/models/model_opset_11/conversion_script.txt.perf_sim_config.txt
cd /home/ubuntu/TIDL/ti_dl/utils/perfsim && ./ti_cnnperfsim.out /home/ubuntu/workspace/models/model_opset_11/conversion_script.txt.perf_sim_config.txt 1601 0 2
substitute string tidl_net_ not found
/home/ubuntu/TIDL/ti_dl/utils/tidlModelGraphviz/out/tidl_graphVisualiser.out /home/ubuntu/workspace/models/model_opset_11/model_opset_11.bin
/home/ubuntu/TIDL/ti_dl/utils/tidlModelDump/out/tidl_dump.out -model /home/ubuntu/workspace/models/model_opset_11/model_opset_11.bin -io /home/ubuntu/workspace/models/model_opset_11/model_opset_11_config1.bin -perfsim -o /home/ubuntu/workspace/models/model_opset_11/model_opset_11.bin.txt
****************************************************
**               TIDL Model Checker               **
****************************************************
****************************************************
**                ALL MODEL CHECK PASSED          **
****************************************************

