ONNX Model (Proto) File  : /home/ubuntu/workspace/models/maxpool_model/maxpool_model.onnx  
TIDL Network File      : /home/ubuntu/workspace/models/maxpool_model/maxpool_model.bin  
TIDL IO Info File      : /home/ubuntu/workspace/models/maxpool_model/maxpool_model_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 :   6 
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  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 |1813512192 |
    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_PoolingLayer             |hmax                                              |     0|     1|     1|  3   x   x   x   x   x   x   x |  4       |       1        8       64      192 |       1        8       64      192 |    884736 |
    5|TIDL_DataLayer                |hmax                                              |     0|     1|    -1|  4   x   x   x   x   x   x   x |  0       |       1        8       64      192 |       0        0
Processing config file #0 : /home/ubuntu/workspace/models/maxpool_model/conversion_script.txt.qunat_stats_config.txt 
      165136,      0.157 0x7f4144b26010
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_PoolingLayer             |     1|     1|     1|  3   x   x   x   x   x   x   x |  4       |       1        8       64      192 |       1        8       64      192 |
    5|TIDL_DataLayer                |     0|     1|    -1|  4   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
Num,    Space,     SizeinBytes,   SineInMB
   0,    17,         9008,      0.009 0x55753bbff440
   1,    17,          112,      0.000 0x55753bc01780
   2,    17,        16384,      0.016 0x55753bc01800
   3,    17,         1024,      0.001 0x55753bc05810
   4,    17,        57344,      0.055 0x55753bc05c20
   5,    17,         3744,      0.004 0x55753bc13c30
   6,    17,      3938712,      3.756 0x7f40af116010
   7,    17,          256,      0.000 0x55753bbfafc0
   8,    17,      9931136,      9.471 0x7f40ae79d010
   9,    17,     13244416,     12.631 0x7f40adafb010
  10,    17,      4899200,      4.672 0x7f40ad64e010
  11,    17,       172416,      0.164 0x7f41449ff010
  12,    17,          256,      0.000 0x55753bbf2dd0
Total External Memory (DDR) Size =     32274008,     30.779 
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

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

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

#    0 . ..Starting Layer # -    1
   0    1.00000    0.00000  255.00000 0
Processing Layer # -    1
Reducing bit depth for Tensor in layer -  1 
Reducing bit depth for Tensor in layer -  1 
Reducing bit depth for Tensor in layer -  1 
   1   16.00000    0.00000    1.00000 1
End of Layer # -    1
Starting Layer # -    2
Processing Layer # -    2
Reducing bit depth for Tensor in layer -  2 
Reducing bit depth for Tensor in layer -  2 
Reducing bit depth for Tensor in layer -  2 
Reducing bit depth for Tensor in layer -  2 
   2    8.00000    0.00000    2.00000 0
End of Layer # -    2
Starting Layer # -    3
Processing Layer # -    3
   3   32.00000   -2.78125   -1.71875 1
End of Layer # -    3
Starting Layer # -    4
Processing Layer # -    4
   4   32.00000   -2.37500    0.00000 1
End of Layer # -    4
 T    1932.47  .... ..... ... .... .....
------------------ Network Compiler Traces -----------------------------
successful Memory allocation
        0        0 |         0 |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total Giga Macs : 1.8286
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

~~~~~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/maxpool_model/conversion_script.txt.qunat_stats_config.txt
cp /home/ubuntu/TIDL/device_config.cfg /home/ubuntu/workspace/models/maxpool_model/conversion_script.txt.perf_sim_config.txt
cd /home/ubuntu/TIDL/ti_dl/utils/perfsim && ./ti_cnnperfsim.out /home/ubuntu/workspace/models/maxpool_model/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/maxpool_model/maxpool_model.bin
/home/ubuntu/TIDL/ti_dl/utils/tidlModelDump/out/tidl_dump.out -model /home/ubuntu/workspace/models/maxpool_model/maxpool_model.bin -io /home/ubuntu/workspace/models/maxpool_model/maxpool_model_config1.bin -perfsim -o /home/ubuntu/workspace/models/maxpool_model/maxpool_model.bin.txt
****************************************************
**               TIDL Model Checker               **
****************************************************
****************************************************
**                ALL MODEL CHECK PASSED          **
****************************************************

