Skip to content

Instantly share code, notes, and snippets.

@ThomasDelteil
Created June 11, 2019 22:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ThomasDelteil/7544072615fbcc57dc50061af089e9e7 to your computer and use it in GitHub Desktop.
Save ThomasDelteil/7544072615fbcc57dc50061af089e9e7 to your computer and use it in GitHub Desktop.
{
"nodes": [
{
"op": "null",
"name": "data",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_conv0_weight",
"attrs": {
"__dtype__": "0",
"__lr_mult__": "1.0",
"__shape__": "(64, 3, 7, 7)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_batchnorm0_gamma",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(64,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_batchnorm0_beta",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(64,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_batchnorm0_running_mean",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(64,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_batchnorm0_running_var",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(64,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "_sg_mkldnn_conv",
"name": "sg_mkldnn_conv_bn_act_0",
"attrs": {
"with_act": "true",
"with_bn": "true"
},
"inputs": [[0, 0, 0], [1, 0, 0], [2, 0, 0], [3, 0, 0], [4, 0, 1], [5, 0, 1]],
"subgraphs": [
{
"nodes": [
{
"op": "null",
"name": "data0",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_conv0_weight0",
"inputs": []
},
{
"op": "Convolution",
"name": "resnetv10_conv0_fwd",
"attrs": {
"dilate": "(1, 1)",
"kernel": "(7, 7)",
"layout": "NCHW",
"no_bias": "True",
"num_filter": "64",
"num_group": "1",
"pad": "(3, 3)",
"stride": "(2, 2)"
},
"inputs": [[0, 0, 0], [1, 0, 0]]
},
{
"op": "null",
"name": "resnetv10_batchnorm0_gamma0",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_batchnorm0_beta0",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_batchnorm0_running_mean0",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_batchnorm0_running_var0",
"inputs": []
},
{
"op": "BatchNorm",
"name": "resnetv10_batchnorm0_fwd",
"attrs": {
"axis": "1",
"eps": "1e-05",
"fix_gamma": "False",
"momentum": "0.9",
"use_global_stats": "False"
},
"inputs": [[2, 0, 0], [3, 0, 0], [4, 0, 0], [5, 0, 0], [6, 0, 0]]
},
{
"op": "Activation",
"name": "resnetv10_relu0_fwd",
"attrs": {"act_type": "relu"},
"inputs": [[7, 0, 0]]
}
],
"arg_nodes": [0, 1, 3, 4, 5, 6],
"node_row_ptr": [0, 1, 2, 3, 4, 5, 6, 7, 10, 11],
"heads": [[8, 0, 0]]
}
]
},
{
"op": "_contrib_quantize_v2",
"name": "resnetv10_relu0_fwd_output_quantize",
"attrs": {"out_type": "uint8"},
"inputs": [[6, 0, 0]]
},
{
"op": "_contrib_quantized_pooling",
"name": "quantized_resnetv10_pool0_fwd",
"attrs": {
"global_pool": "False",
"kernel": "(3, 3)",
"layout": "NCHW",
"pad": "(1, 1)",
"pool_type": "max",
"pooling_convention": "valid",
"stride": "(2, 2)"
},
"inputs": [[7, 0, 0], [7, 1, 0], [7, 2, 0]]
},
{
"op": "_contrib_dequantize",
"name": "resnetv10_pool0_fwd_dequantize",
"inputs": [[8, 0, 0], [8, 1, 0], [8, 2, 0]]
},
{
"op": "null",
"name": "resnetv10_stage1_conv0_weight_quantize",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage1_conv0_weight_quantize_min",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage1_conv0_weight_quantize_max",
"inputs": []
},
{
"op": "_contrib_quantized_conv",
"name": "quantized_resnetv10_stage1_conv0_fwd",
"attrs": {
"dilate": "(1, 1)",
"kernel": "(3, 3)",
"layout": "NCHW",
"no_bias": "True",
"num_filter": "64",
"num_group": "1",
"pad": "(1, 1)",
"stride": "(1, 1)"
},
"inputs": [[8, 0, 0], [10, 0, 0], [8, 1, 0], [8, 2, 0], [11, 0, 0], [12, 0, 0]]
},
{
"op": "_contrib_requantize",
"name": "requantize_resnetv10_stage1_conv0_fwd",
"attrs": {"out_type": "uint8"},
"inputs": [[13, 0, 0], [13, 1, 0], [13, 2, 0]]
},
{
"op": "_contrib_dequantize",
"name": "resnetv10_stage1_conv0_fwd_dequantize",
"inputs": [[14, 0, 0], [14, 1, 0], [14, 2, 0]]
},
{
"op": "null",
"name": "resnetv10_stage1_batchnorm0_gamma",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(64,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage1_batchnorm0_beta",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(64,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage1_batchnorm0_running_mean",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(64,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage1_batchnorm0_running_var",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(64,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "BatchNorm",
"name": "resnetv10_stage1_batchnorm0_fwd",
"attrs": {
"axis": "1",
"eps": "1e-05",
"fix_gamma": "False",
"momentum": "0.9",
"use_global_stats": "False"
},
"inputs": [[15, 0, 0], [16, 0, 0], [17, 0, 0], [18, 0, 1], [19, 0, 1]]
},
{
"op": "Activation",
"name": "resnetv10_stage1_relu0_fwd",
"attrs": {"act_type": "relu"},
"inputs": [[20, 0, 0]]
},
{
"op": "_contrib_quantize_v2",
"name": "resnetv10_stage1_relu0_fwd_output_quantize",
"attrs": {"out_type": "uint8"},
"inputs": [[21, 0, 0]]
},
{
"op": "null",
"name": "resnetv10_stage1_conv1_weight_quantize",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage1_conv1_weight_quantize_min",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage1_conv1_weight_quantize_max",
"inputs": []
},
{
"op": "_contrib_quantized_conv",
"name": "quantized_resnetv10_stage1_conv1_fwd",
"attrs": {
"dilate": "(1, 1)",
"kernel": "(3, 3)",
"layout": "NCHW",
"no_bias": "True",
"num_filter": "64",
"num_group": "1",
"pad": "(1, 1)",
"stride": "(1, 1)"
},
"inputs": [[22, 0, 0], [23, 0, 0], [22, 1, 0], [22, 2, 0], [24, 0, 0], [25, 0, 0]]
},
{
"op": "_contrib_requantize",
"name": "requantize_resnetv10_stage1_conv1_fwd",
"attrs": {"out_type": "uint8"},
"inputs": [[26, 0, 0], [26, 1, 0], [26, 2, 0]]
},
{
"op": "_contrib_dequantize",
"name": "resnetv10_stage1_conv1_fwd_dequantize",
"inputs": [[27, 0, 0], [27, 1, 0], [27, 2, 0]]
},
{
"op": "null",
"name": "resnetv10_stage1_batchnorm1_gamma",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(64,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage1_batchnorm1_beta",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(64,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage1_batchnorm1_running_mean",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(64,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage1_batchnorm1_running_var",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(64,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "BatchNorm",
"name": "resnetv10_stage1_batchnorm1_fwd",
"attrs": {
"axis": "1",
"eps": "1e-05",
"fix_gamma": "False",
"momentum": "0.9",
"use_global_stats": "False"
},
"inputs": [[28, 0, 0], [29, 0, 0], [30, 0, 0], [31, 0, 1], [32, 0, 1]]
},
{
"op": "elemwise_add",
"name": "resnetv10_stage1__plus0",
"inputs": [[9, 0, 0], [33, 0, 0]]
},
{
"op": "Activation",
"name": "resnetv10_stage1_activation0",
"attrs": {"act_type": "relu"},
"inputs": [[34, 0, 0]]
},
{
"op": "_contrib_quantize_v2",
"name": "resnetv10_stage1_activation0_output_quantize",
"attrs": {"out_type": "uint8"},
"inputs": [[35, 0, 0]]
},
{
"op": "null",
"name": "resnetv10_stage1_conv2_weight_quantize",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage1_conv2_weight_quantize_min",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage1_conv2_weight_quantize_max",
"inputs": []
},
{
"op": "_contrib_quantized_conv",
"name": "quantized_resnetv10_stage1_conv2_fwd",
"attrs": {
"dilate": "(1, 1)",
"kernel": "(3, 3)",
"layout": "NCHW",
"no_bias": "True",
"num_filter": "64",
"num_group": "1",
"pad": "(1, 1)",
"stride": "(1, 1)"
},
"inputs": [[36, 0, 0], [37, 0, 0], [36, 1, 0], [36, 2, 0], [38, 0, 0], [39, 0, 0]]
},
{
"op": "_contrib_requantize",
"name": "requantize_resnetv10_stage1_conv2_fwd",
"attrs": {"out_type": "uint8"},
"inputs": [[40, 0, 0], [40, 1, 0], [40, 2, 0]]
},
{
"op": "_contrib_dequantize",
"name": "resnetv10_stage1_conv2_fwd_dequantize",
"inputs": [[41, 0, 0], [41, 1, 0], [41, 2, 0]]
},
{
"op": "null",
"name": "resnetv10_stage1_batchnorm2_gamma",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(64,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage1_batchnorm2_beta",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(64,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage1_batchnorm2_running_mean",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(64,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage1_batchnorm2_running_var",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(64,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "BatchNorm",
"name": "resnetv10_stage1_batchnorm2_fwd",
"attrs": {
"axis": "1",
"eps": "1e-05",
"fix_gamma": "False",
"momentum": "0.9",
"use_global_stats": "False"
},
"inputs": [[42, 0, 0], [43, 0, 0], [44, 0, 0], [45, 0, 1], [46, 0, 1]]
},
{
"op": "Activation",
"name": "resnetv10_stage1_relu1_fwd",
"attrs": {"act_type": "relu"},
"inputs": [[47, 0, 0]]
},
{
"op": "_contrib_quantize_v2",
"name": "resnetv10_stage1_relu1_fwd_output_quantize",
"attrs": {"out_type": "uint8"},
"inputs": [[48, 0, 0]]
},
{
"op": "null",
"name": "resnetv10_stage1_conv3_weight_quantize",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage1_conv3_weight_quantize_min",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage1_conv3_weight_quantize_max",
"inputs": []
},
{
"op": "_contrib_quantized_conv",
"name": "quantized_resnetv10_stage1_conv3_fwd",
"attrs": {
"dilate": "(1, 1)",
"kernel": "(3, 3)",
"layout": "NCHW",
"no_bias": "True",
"num_filter": "64",
"num_group": "1",
"pad": "(1, 1)",
"stride": "(1, 1)"
},
"inputs": [[49, 0, 0], [50, 0, 0], [49, 1, 0], [49, 2, 0], [51, 0, 0], [52, 0, 0]]
},
{
"op": "_contrib_requantize",
"name": "requantize_resnetv10_stage1_conv3_fwd",
"attrs": {"out_type": "uint8"},
"inputs": [[53, 0, 0], [53, 1, 0], [53, 2, 0]]
},
{
"op": "_contrib_dequantize",
"name": "resnetv10_stage1_conv3_fwd_dequantize",
"inputs": [[54, 0, 0], [54, 1, 0], [54, 2, 0]]
},
{
"op": "null",
"name": "resnetv10_stage1_batchnorm3_gamma",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(64,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage1_batchnorm3_beta",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(64,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage1_batchnorm3_running_mean",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(64,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage1_batchnorm3_running_var",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(64,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "BatchNorm",
"name": "resnetv10_stage1_batchnorm3_fwd",
"attrs": {
"axis": "1",
"eps": "1e-05",
"fix_gamma": "False",
"momentum": "0.9",
"use_global_stats": "False"
},
"inputs": [[55, 0, 0], [56, 0, 0], [57, 0, 0], [58, 0, 1], [59, 0, 1]]
},
{
"op": "elemwise_add",
"name": "resnetv10_stage1__plus1",
"inputs": [[35, 0, 0], [60, 0, 0]]
},
{
"op": "Activation",
"name": "resnetv10_stage1_activation1",
"attrs": {"act_type": "relu"},
"inputs": [[61, 0, 0]]
},
{
"op": "_contrib_quantize_v2",
"name": "resnetv10_stage1_activation1_output_quantize",
"attrs": {"out_type": "uint8"},
"inputs": [[62, 0, 0]]
},
{
"op": "null",
"name": "resnetv10_stage2_conv2_weight_quantize",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage2_conv2_weight_quantize_min",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage2_conv2_weight_quantize_max",
"inputs": []
},
{
"op": "_contrib_quantized_conv",
"name": "quantized_resnetv10_stage2_conv2_fwd",
"attrs": {
"dilate": "(1, 1)",
"kernel": "(1, 1)",
"layout": "NCHW",
"no_bias": "True",
"num_filter": "128",
"num_group": "1",
"pad": "(0, 0)",
"stride": "(2, 2)"
},
"inputs": [[63, 0, 0], [64, 0, 0], [63, 1, 0], [63, 2, 0], [65, 0, 0], [66, 0, 0]]
},
{
"op": "_contrib_requantize",
"name": "requantize_resnetv10_stage2_conv2_fwd",
"attrs": {"out_type": "uint8"},
"inputs": [[67, 0, 0], [67, 1, 0], [67, 2, 0]]
},
{
"op": "_contrib_dequantize",
"name": "resnetv10_stage2_conv2_fwd_dequantize",
"inputs": [[68, 0, 0], [68, 1, 0], [68, 2, 0]]
},
{
"op": "null",
"name": "resnetv10_stage2_batchnorm2_gamma",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(128,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage2_batchnorm2_beta",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(128,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage2_batchnorm2_running_mean",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(128,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage2_batchnorm2_running_var",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(128,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "BatchNorm",
"name": "resnetv10_stage2_batchnorm2_fwd",
"attrs": {
"axis": "1",
"eps": "1e-05",
"fix_gamma": "False",
"momentum": "0.9",
"use_global_stats": "False"
},
"inputs": [[69, 0, 0], [70, 0, 0], [71, 0, 0], [72, 0, 1], [73, 0, 1]]
},
{
"op": "null",
"name": "resnetv10_stage2_conv0_weight_quantize",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage2_conv0_weight_quantize_min",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage2_conv0_weight_quantize_max",
"inputs": []
},
{
"op": "_contrib_quantized_conv",
"name": "quantized_resnetv10_stage2_conv0_fwd",
"attrs": {
"dilate": "(1, 1)",
"kernel": "(3, 3)",
"layout": "NCHW",
"no_bias": "True",
"num_filter": "128",
"num_group": "1",
"pad": "(1, 1)",
"stride": "(2, 2)"
},
"inputs": [[63, 0, 0], [75, 0, 0], [63, 1, 0], [63, 2, 0], [76, 0, 0], [77, 0, 0]]
},
{
"op": "_contrib_requantize",
"name": "requantize_resnetv10_stage2_conv0_fwd",
"attrs": {"out_type": "uint8"},
"inputs": [[78, 0, 0], [78, 1, 0], [78, 2, 0]]
},
{
"op": "_contrib_dequantize",
"name": "resnetv10_stage2_conv0_fwd_dequantize",
"inputs": [[79, 0, 0], [79, 1, 0], [79, 2, 0]]
},
{
"op": "null",
"name": "resnetv10_stage2_batchnorm0_gamma",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(128,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage2_batchnorm0_beta",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(128,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage2_batchnorm0_running_mean",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(128,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage2_batchnorm0_running_var",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(128,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "BatchNorm",
"name": "resnetv10_stage2_batchnorm0_fwd",
"attrs": {
"axis": "1",
"eps": "1e-05",
"fix_gamma": "False",
"momentum": "0.9",
"use_global_stats": "False"
},
"inputs": [[80, 0, 0], [81, 0, 0], [82, 0, 0], [83, 0, 1], [84, 0, 1]]
},
{
"op": "Activation",
"name": "resnetv10_stage2_relu0_fwd",
"attrs": {"act_type": "relu"},
"inputs": [[85, 0, 0]]
},
{
"op": "_contrib_quantize_v2",
"name": "resnetv10_stage2_relu0_fwd_output_quantize",
"attrs": {"out_type": "uint8"},
"inputs": [[86, 0, 0]]
},
{
"op": "null",
"name": "resnetv10_stage2_conv1_weight_quantize",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage2_conv1_weight_quantize_min",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage2_conv1_weight_quantize_max",
"inputs": []
},
{
"op": "_contrib_quantized_conv",
"name": "quantized_resnetv10_stage2_conv1_fwd",
"attrs": {
"dilate": "(1, 1)",
"kernel": "(3, 3)",
"layout": "NCHW",
"no_bias": "True",
"num_filter": "128",
"num_group": "1",
"pad": "(1, 1)",
"stride": "(1, 1)"
},
"inputs": [[87, 0, 0], [88, 0, 0], [87, 1, 0], [87, 2, 0], [89, 0, 0], [90, 0, 0]]
},
{
"op": "_contrib_requantize",
"name": "requantize_resnetv10_stage2_conv1_fwd",
"attrs": {"out_type": "uint8"},
"inputs": [[91, 0, 0], [91, 1, 0], [91, 2, 0]]
},
{
"op": "_contrib_dequantize",
"name": "resnetv10_stage2_conv1_fwd_dequantize",
"inputs": [[92, 0, 0], [92, 1, 0], [92, 2, 0]]
},
{
"op": "null",
"name": "resnetv10_stage2_batchnorm1_gamma",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(128,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage2_batchnorm1_beta",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(128,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage2_batchnorm1_running_mean",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(128,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage2_batchnorm1_running_var",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(128,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "BatchNorm",
"name": "resnetv10_stage2_batchnorm1_fwd",
"attrs": {
"axis": "1",
"eps": "1e-05",
"fix_gamma": "False",
"momentum": "0.9",
"use_global_stats": "False"
},
"inputs": [[93, 0, 0], [94, 0, 0], [95, 0, 0], [96, 0, 1], [97, 0, 1]]
},
{
"op": "elemwise_add",
"name": "resnetv10_stage2__plus0",
"inputs": [[74, 0, 0], [98, 0, 0]]
},
{
"op": "Activation",
"name": "resnetv10_stage2_activation0",
"attrs": {"act_type": "relu"},
"inputs": [[99, 0, 0]]
},
{
"op": "_contrib_quantize_v2",
"name": "resnetv10_stage2_activation0_output_quantize",
"attrs": {"out_type": "uint8"},
"inputs": [[100, 0, 0]]
},
{
"op": "null",
"name": "resnetv10_stage2_conv3_weight_quantize",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage2_conv3_weight_quantize_min",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage2_conv3_weight_quantize_max",
"inputs": []
},
{
"op": "_contrib_quantized_conv",
"name": "quantized_resnetv10_stage2_conv3_fwd",
"attrs": {
"dilate": "(1, 1)",
"kernel": "(3, 3)",
"layout": "NCHW",
"no_bias": "True",
"num_filter": "128",
"num_group": "1",
"pad": "(1, 1)",
"stride": "(1, 1)"
},
"inputs": [[101, 0, 0], [102, 0, 0], [101, 1, 0], [101, 2, 0], [103, 0, 0], [104, 0, 0]]
},
{
"op": "_contrib_requantize",
"name": "requantize_resnetv10_stage2_conv3_fwd",
"attrs": {"out_type": "uint8"},
"inputs": [[105, 0, 0], [105, 1, 0], [105, 2, 0]]
},
{
"op": "_contrib_dequantize",
"name": "resnetv10_stage2_conv3_fwd_dequantize",
"inputs": [[106, 0, 0], [106, 1, 0], [106, 2, 0]]
},
{
"op": "null",
"name": "resnetv10_stage2_batchnorm3_gamma",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(128,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage2_batchnorm3_beta",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(128,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage2_batchnorm3_running_mean",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(128,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage2_batchnorm3_running_var",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(128,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "BatchNorm",
"name": "resnetv10_stage2_batchnorm3_fwd",
"attrs": {
"axis": "1",
"eps": "1e-05",
"fix_gamma": "False",
"momentum": "0.9",
"use_global_stats": "False"
},
"inputs": [[107, 0, 0], [108, 0, 0], [109, 0, 0], [110, 0, 1], [111, 0, 1]]
},
{
"op": "Activation",
"name": "resnetv10_stage2_relu1_fwd",
"attrs": {"act_type": "relu"},
"inputs": [[112, 0, 0]]
},
{
"op": "_contrib_quantize_v2",
"name": "resnetv10_stage2_relu1_fwd_output_quantize",
"attrs": {"out_type": "uint8"},
"inputs": [[113, 0, 0]]
},
{
"op": "null",
"name": "resnetv10_stage2_conv4_weight_quantize",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage2_conv4_weight_quantize_min",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage2_conv4_weight_quantize_max",
"inputs": []
},
{
"op": "_contrib_quantized_conv",
"name": "quantized_resnetv10_stage2_conv4_fwd",
"attrs": {
"dilate": "(1, 1)",
"kernel": "(3, 3)",
"layout": "NCHW",
"no_bias": "True",
"num_filter": "128",
"num_group": "1",
"pad": "(1, 1)",
"stride": "(1, 1)"
},
"inputs": [[114, 0, 0], [115, 0, 0], [114, 1, 0], [114, 2, 0], [116, 0, 0], [117, 0, 0]]
},
{
"op": "_contrib_requantize",
"name": "requantize_resnetv10_stage2_conv4_fwd",
"attrs": {"out_type": "uint8"},
"inputs": [[118, 0, 0], [118, 1, 0], [118, 2, 0]]
},
{
"op": "_contrib_dequantize",
"name": "resnetv10_stage2_conv4_fwd_dequantize",
"inputs": [[119, 0, 0], [119, 1, 0], [119, 2, 0]]
},
{
"op": "null",
"name": "resnetv10_stage2_batchnorm4_gamma",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(128,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage2_batchnorm4_beta",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(128,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage2_batchnorm4_running_mean",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(128,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage2_batchnorm4_running_var",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(128,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "BatchNorm",
"name": "resnetv10_stage2_batchnorm4_fwd",
"attrs": {
"axis": "1",
"eps": "1e-05",
"fix_gamma": "False",
"momentum": "0.9",
"use_global_stats": "False"
},
"inputs": [[120, 0, 0], [121, 0, 0], [122, 0, 0], [123, 0, 1], [124, 0, 1]]
},
{
"op": "elemwise_add",
"name": "resnetv10_stage2__plus1",
"inputs": [[100, 0, 0], [125, 0, 0]]
},
{
"op": "Activation",
"name": "resnetv10_stage2_activation1",
"attrs": {"act_type": "relu"},
"inputs": [[126, 0, 0]]
},
{
"op": "_contrib_quantize_v2",
"name": "resnetv10_stage2_activation1_output_quantize",
"attrs": {"out_type": "uint8"},
"inputs": [[127, 0, 0]]
},
{
"op": "null",
"name": "resnetv10_stage3_conv2_weight_quantize",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage3_conv2_weight_quantize_min",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage3_conv2_weight_quantize_max",
"inputs": []
},
{
"op": "_contrib_quantized_conv",
"name": "quantized_resnetv10_stage3_conv2_fwd",
"attrs": {
"dilate": "(1, 1)",
"kernel": "(1, 1)",
"layout": "NCHW",
"no_bias": "True",
"num_filter": "256",
"num_group": "1",
"pad": "(0, 0)",
"stride": "(2, 2)"
},
"inputs": [[128, 0, 0], [129, 0, 0], [128, 1, 0], [128, 2, 0], [130, 0, 0], [131, 0, 0]]
},
{
"op": "_contrib_requantize",
"name": "requantize_resnetv10_stage3_conv2_fwd",
"attrs": {"out_type": "uint8"},
"inputs": [[132, 0, 0], [132, 1, 0], [132, 2, 0]]
},
{
"op": "_contrib_dequantize",
"name": "resnetv10_stage3_conv2_fwd_dequantize",
"inputs": [[133, 0, 0], [133, 1, 0], [133, 2, 0]]
},
{
"op": "null",
"name": "resnetv10_stage3_batchnorm2_gamma",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(256,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage3_batchnorm2_beta",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(256,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage3_batchnorm2_running_mean",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(256,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage3_batchnorm2_running_var",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(256,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "BatchNorm",
"name": "resnetv10_stage3_batchnorm2_fwd",
"attrs": {
"axis": "1",
"eps": "1e-05",
"fix_gamma": "False",
"momentum": "0.9",
"use_global_stats": "False"
},
"inputs": [[134, 0, 0], [135, 0, 0], [136, 0, 0], [137, 0, 1], [138, 0, 1]]
},
{
"op": "null",
"name": "resnetv10_stage3_conv0_weight_quantize",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage3_conv0_weight_quantize_min",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage3_conv0_weight_quantize_max",
"inputs": []
},
{
"op": "_contrib_quantized_conv",
"name": "quantized_resnetv10_stage3_conv0_fwd",
"attrs": {
"dilate": "(1, 1)",
"kernel": "(3, 3)",
"layout": "NCHW",
"no_bias": "True",
"num_filter": "256",
"num_group": "1",
"pad": "(1, 1)",
"stride": "(2, 2)"
},
"inputs": [[128, 0, 0], [140, 0, 0], [128, 1, 0], [128, 2, 0], [141, 0, 0], [142, 0, 0]]
},
{
"op": "_contrib_requantize",
"name": "requantize_resnetv10_stage3_conv0_fwd",
"attrs": {"out_type": "uint8"},
"inputs": [[143, 0, 0], [143, 1, 0], [143, 2, 0]]
},
{
"op": "_contrib_dequantize",
"name": "resnetv10_stage3_conv0_fwd_dequantize",
"inputs": [[144, 0, 0], [144, 1, 0], [144, 2, 0]]
},
{
"op": "null",
"name": "resnetv10_stage3_batchnorm0_gamma",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(256,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage3_batchnorm0_beta",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(256,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage3_batchnorm0_running_mean",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(256,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage3_batchnorm0_running_var",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(256,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "BatchNorm",
"name": "resnetv10_stage3_batchnorm0_fwd",
"attrs": {
"axis": "1",
"eps": "1e-05",
"fix_gamma": "False",
"momentum": "0.9",
"use_global_stats": "False"
},
"inputs": [[145, 0, 0], [146, 0, 0], [147, 0, 0], [148, 0, 1], [149, 0, 1]]
},
{
"op": "Activation",
"name": "resnetv10_stage3_relu0_fwd",
"attrs": {"act_type": "relu"},
"inputs": [[150, 0, 0]]
},
{
"op": "_contrib_quantize_v2",
"name": "resnetv10_stage3_relu0_fwd_output_quantize",
"attrs": {"out_type": "uint8"},
"inputs": [[151, 0, 0]]
},
{
"op": "null",
"name": "resnetv10_stage3_conv1_weight_quantize",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage3_conv1_weight_quantize_min",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage3_conv1_weight_quantize_max",
"inputs": []
},
{
"op": "_contrib_quantized_conv",
"name": "quantized_resnetv10_stage3_conv1_fwd",
"attrs": {
"dilate": "(1, 1)",
"kernel": "(3, 3)",
"layout": "NCHW",
"no_bias": "True",
"num_filter": "256",
"num_group": "1",
"pad": "(1, 1)",
"stride": "(1, 1)"
},
"inputs": [[152, 0, 0], [153, 0, 0], [152, 1, 0], [152, 2, 0], [154, 0, 0], [155, 0, 0]]
},
{
"op": "_contrib_requantize",
"name": "requantize_resnetv10_stage3_conv1_fwd",
"attrs": {"out_type": "uint8"},
"inputs": [[156, 0, 0], [156, 1, 0], [156, 2, 0]]
},
{
"op": "_contrib_dequantize",
"name": "resnetv10_stage3_conv1_fwd_dequantize",
"inputs": [[157, 0, 0], [157, 1, 0], [157, 2, 0]]
},
{
"op": "null",
"name": "resnetv10_stage3_batchnorm1_gamma",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(256,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage3_batchnorm1_beta",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(256,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage3_batchnorm1_running_mean",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(256,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage3_batchnorm1_running_var",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(256,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "BatchNorm",
"name": "resnetv10_stage3_batchnorm1_fwd",
"attrs": {
"axis": "1",
"eps": "1e-05",
"fix_gamma": "False",
"momentum": "0.9",
"use_global_stats": "False"
},
"inputs": [[158, 0, 0], [159, 0, 0], [160, 0, 0], [161, 0, 1], [162, 0, 1]]
},
{
"op": "elemwise_add",
"name": "resnetv10_stage3__plus0",
"inputs": [[139, 0, 0], [163, 0, 0]]
},
{
"op": "Activation",
"name": "resnetv10_stage3_activation0",
"attrs": {"act_type": "relu"},
"inputs": [[164, 0, 0]]
},
{
"op": "_contrib_quantize_v2",
"name": "resnetv10_stage3_activation0_output_quantize",
"attrs": {"out_type": "uint8"},
"inputs": [[165, 0, 0]]
},
{
"op": "null",
"name": "resnetv10_stage3_conv3_weight_quantize",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage3_conv3_weight_quantize_min",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage3_conv3_weight_quantize_max",
"inputs": []
},
{
"op": "_contrib_quantized_conv",
"name": "quantized_resnetv10_stage3_conv3_fwd",
"attrs": {
"dilate": "(1, 1)",
"kernel": "(3, 3)",
"layout": "NCHW",
"no_bias": "True",
"num_filter": "256",
"num_group": "1",
"pad": "(1, 1)",
"stride": "(1, 1)"
},
"inputs": [[166, 0, 0], [167, 0, 0], [166, 1, 0], [166, 2, 0], [168, 0, 0], [169, 0, 0]]
},
{
"op": "_contrib_requantize",
"name": "requantize_resnetv10_stage3_conv3_fwd",
"attrs": {"out_type": "uint8"},
"inputs": [[170, 0, 0], [170, 1, 0], [170, 2, 0]]
},
{
"op": "_contrib_dequantize",
"name": "resnetv10_stage3_conv3_fwd_dequantize",
"inputs": [[171, 0, 0], [171, 1, 0], [171, 2, 0]]
},
{
"op": "null",
"name": "resnetv10_stage3_batchnorm3_gamma",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(256,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage3_batchnorm3_beta",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(256,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage3_batchnorm3_running_mean",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(256,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage3_batchnorm3_running_var",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(256,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "BatchNorm",
"name": "resnetv10_stage3_batchnorm3_fwd",
"attrs": {
"axis": "1",
"eps": "1e-05",
"fix_gamma": "False",
"momentum": "0.9",
"use_global_stats": "False"
},
"inputs": [[172, 0, 0], [173, 0, 0], [174, 0, 0], [175, 0, 1], [176, 0, 1]]
},
{
"op": "Activation",
"name": "resnetv10_stage3_relu1_fwd",
"attrs": {"act_type": "relu"},
"inputs": [[177, 0, 0]]
},
{
"op": "_contrib_quantize_v2",
"name": "resnetv10_stage3_relu1_fwd_output_quantize",
"attrs": {"out_type": "uint8"},
"inputs": [[178, 0, 0]]
},
{
"op": "null",
"name": "resnetv10_stage3_conv4_weight_quantize",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage3_conv4_weight_quantize_min",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage3_conv4_weight_quantize_max",
"inputs": []
},
{
"op": "_contrib_quantized_conv",
"name": "quantized_resnetv10_stage3_conv4_fwd",
"attrs": {
"dilate": "(1, 1)",
"kernel": "(3, 3)",
"layout": "NCHW",
"no_bias": "True",
"num_filter": "256",
"num_group": "1",
"pad": "(1, 1)",
"stride": "(1, 1)"
},
"inputs": [[179, 0, 0], [180, 0, 0], [179, 1, 0], [179, 2, 0], [181, 0, 0], [182, 0, 0]]
},
{
"op": "_contrib_requantize",
"name": "requantize_resnetv10_stage3_conv4_fwd",
"attrs": {"out_type": "uint8"},
"inputs": [[183, 0, 0], [183, 1, 0], [183, 2, 0]]
},
{
"op": "_contrib_dequantize",
"name": "resnetv10_stage3_conv4_fwd_dequantize",
"inputs": [[184, 0, 0], [184, 1, 0], [184, 2, 0]]
},
{
"op": "null",
"name": "resnetv10_stage3_batchnorm4_gamma",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(256,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage3_batchnorm4_beta",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(256,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage3_batchnorm4_running_mean",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(256,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage3_batchnorm4_running_var",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(256,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "BatchNorm",
"name": "resnetv10_stage3_batchnorm4_fwd",
"attrs": {
"axis": "1",
"eps": "1e-05",
"fix_gamma": "False",
"momentum": "0.9",
"use_global_stats": "False"
},
"inputs": [[185, 0, 0], [186, 0, 0], [187, 0, 0], [188, 0, 1], [189, 0, 1]]
},
{
"op": "elemwise_add",
"name": "resnetv10_stage3__plus1",
"inputs": [[165, 0, 0], [190, 0, 0]]
},
{
"op": "Activation",
"name": "resnetv10_stage3_activation1",
"attrs": {"act_type": "relu"},
"inputs": [[191, 0, 0]]
},
{
"op": "_contrib_quantize_v2",
"name": "resnetv10_stage3_activation1_output_quantize",
"attrs": {"out_type": "uint8"},
"inputs": [[192, 0, 0]]
},
{
"op": "null",
"name": "resnetv10_stage4_conv2_weight_quantize",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage4_conv2_weight_quantize_min",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage4_conv2_weight_quantize_max",
"inputs": []
},
{
"op": "_contrib_quantized_conv",
"name": "quantized_resnetv10_stage4_conv2_fwd",
"attrs": {
"dilate": "(1, 1)",
"kernel": "(1, 1)",
"layout": "NCHW",
"no_bias": "True",
"num_filter": "512",
"num_group": "1",
"pad": "(0, 0)",
"stride": "(2, 2)"
},
"inputs": [[193, 0, 0], [194, 0, 0], [193, 1, 0], [193, 2, 0], [195, 0, 0], [196, 0, 0]]
},
{
"op": "_contrib_requantize",
"name": "requantize_resnetv10_stage4_conv2_fwd",
"attrs": {"out_type": "uint8"},
"inputs": [[197, 0, 0], [197, 1, 0], [197, 2, 0]]
},
{
"op": "_contrib_dequantize",
"name": "resnetv10_stage4_conv2_fwd_dequantize",
"inputs": [[198, 0, 0], [198, 1, 0], [198, 2, 0]]
},
{
"op": "null",
"name": "resnetv10_stage4_batchnorm2_gamma",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(512,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage4_batchnorm2_beta",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(512,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage4_batchnorm2_running_mean",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(512,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage4_batchnorm2_running_var",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(512,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "BatchNorm",
"name": "resnetv10_stage4_batchnorm2_fwd",
"attrs": {
"axis": "1",
"eps": "1e-05",
"fix_gamma": "False",
"momentum": "0.9",
"use_global_stats": "False"
},
"inputs": [[199, 0, 0], [200, 0, 0], [201, 0, 0], [202, 0, 1], [203, 0, 1]]
},
{
"op": "null",
"name": "resnetv10_stage4_conv0_weight_quantize",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage4_conv0_weight_quantize_min",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage4_conv0_weight_quantize_max",
"inputs": []
},
{
"op": "_contrib_quantized_conv",
"name": "quantized_resnetv10_stage4_conv0_fwd",
"attrs": {
"dilate": "(1, 1)",
"kernel": "(3, 3)",
"layout": "NCHW",
"no_bias": "True",
"num_filter": "512",
"num_group": "1",
"pad": "(1, 1)",
"stride": "(2, 2)"
},
"inputs": [[193, 0, 0], [205, 0, 0], [193, 1, 0], [193, 2, 0], [206, 0, 0], [207, 0, 0]]
},
{
"op": "_contrib_requantize",
"name": "requantize_resnetv10_stage4_conv0_fwd",
"attrs": {"out_type": "uint8"},
"inputs": [[208, 0, 0], [208, 1, 0], [208, 2, 0]]
},
{
"op": "_contrib_dequantize",
"name": "resnetv10_stage4_conv0_fwd_dequantize",
"inputs": [[209, 0, 0], [209, 1, 0], [209, 2, 0]]
},
{
"op": "null",
"name": "resnetv10_stage4_batchnorm0_gamma",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(512,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage4_batchnorm0_beta",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(512,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage4_batchnorm0_running_mean",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(512,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage4_batchnorm0_running_var",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(512,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "BatchNorm",
"name": "resnetv10_stage4_batchnorm0_fwd",
"attrs": {
"axis": "1",
"eps": "1e-05",
"fix_gamma": "False",
"momentum": "0.9",
"use_global_stats": "False"
},
"inputs": [[210, 0, 0], [211, 0, 0], [212, 0, 0], [213, 0, 1], [214, 0, 1]]
},
{
"op": "Activation",
"name": "resnetv10_stage4_relu0_fwd",
"attrs": {"act_type": "relu"},
"inputs": [[215, 0, 0]]
},
{
"op": "_contrib_quantize_v2",
"name": "resnetv10_stage4_relu0_fwd_output_quantize",
"attrs": {"out_type": "uint8"},
"inputs": [[216, 0, 0]]
},
{
"op": "null",
"name": "resnetv10_stage4_conv1_weight_quantize",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage4_conv1_weight_quantize_min",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage4_conv1_weight_quantize_max",
"inputs": []
},
{
"op": "_contrib_quantized_conv",
"name": "quantized_resnetv10_stage4_conv1_fwd",
"attrs": {
"dilate": "(1, 1)",
"kernel": "(3, 3)",
"layout": "NCHW",
"no_bias": "True",
"num_filter": "512",
"num_group": "1",
"pad": "(1, 1)",
"stride": "(1, 1)"
},
"inputs": [[217, 0, 0], [218, 0, 0], [217, 1, 0], [217, 2, 0], [219, 0, 0], [220, 0, 0]]
},
{
"op": "_contrib_requantize",
"name": "requantize_resnetv10_stage4_conv1_fwd",
"attrs": {"out_type": "uint8"},
"inputs": [[221, 0, 0], [221, 1, 0], [221, 2, 0]]
},
{
"op": "_contrib_dequantize",
"name": "resnetv10_stage4_conv1_fwd_dequantize",
"inputs": [[222, 0, 0], [222, 1, 0], [222, 2, 0]]
},
{
"op": "null",
"name": "resnetv10_stage4_batchnorm1_gamma",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(512,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage4_batchnorm1_beta",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(512,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage4_batchnorm1_running_mean",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(512,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage4_batchnorm1_running_var",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(512,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "BatchNorm",
"name": "resnetv10_stage4_batchnorm1_fwd",
"attrs": {
"axis": "1",
"eps": "1e-05",
"fix_gamma": "False",
"momentum": "0.9",
"use_global_stats": "False"
},
"inputs": [[223, 0, 0], [224, 0, 0], [225, 0, 0], [226, 0, 1], [227, 0, 1]]
},
{
"op": "elemwise_add",
"name": "resnetv10_stage4__plus0",
"inputs": [[204, 0, 0], [228, 0, 0]]
},
{
"op": "Activation",
"name": "resnetv10_stage4_activation0",
"attrs": {"act_type": "relu"},
"inputs": [[229, 0, 0]]
},
{
"op": "_contrib_quantize_v2",
"name": "resnetv10_stage4_activation0_output_quantize",
"attrs": {"out_type": "uint8"},
"inputs": [[230, 0, 0]]
},
{
"op": "null",
"name": "resnetv10_stage4_conv3_weight_quantize",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage4_conv3_weight_quantize_min",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage4_conv3_weight_quantize_max",
"inputs": []
},
{
"op": "_contrib_quantized_conv",
"name": "quantized_resnetv10_stage4_conv3_fwd",
"attrs": {
"dilate": "(1, 1)",
"kernel": "(3, 3)",
"layout": "NCHW",
"no_bias": "True",
"num_filter": "512",
"num_group": "1",
"pad": "(1, 1)",
"stride": "(1, 1)"
},
"inputs": [[231, 0, 0], [232, 0, 0], [231, 1, 0], [231, 2, 0], [233, 0, 0], [234, 0, 0]]
},
{
"op": "_contrib_requantize",
"name": "requantize_resnetv10_stage4_conv3_fwd",
"attrs": {"out_type": "uint8"},
"inputs": [[235, 0, 0], [235, 1, 0], [235, 2, 0]]
},
{
"op": "_contrib_dequantize",
"name": "resnetv10_stage4_conv3_fwd_dequantize",
"inputs": [[236, 0, 0], [236, 1, 0], [236, 2, 0]]
},
{
"op": "null",
"name": "resnetv10_stage4_batchnorm3_gamma",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(512,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage4_batchnorm3_beta",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(512,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage4_batchnorm3_running_mean",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(512,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage4_batchnorm3_running_var",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(512,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "BatchNorm",
"name": "resnetv10_stage4_batchnorm3_fwd",
"attrs": {
"axis": "1",
"eps": "1e-05",
"fix_gamma": "False",
"momentum": "0.9",
"use_global_stats": "False"
},
"inputs": [[237, 0, 0], [238, 0, 0], [239, 0, 0], [240, 0, 1], [241, 0, 1]]
},
{
"op": "Activation",
"name": "resnetv10_stage4_relu1_fwd",
"attrs": {"act_type": "relu"},
"inputs": [[242, 0, 0]]
},
{
"op": "_contrib_quantize_v2",
"name": "resnetv10_stage4_relu1_fwd_output_quantize",
"attrs": {"out_type": "uint8"},
"inputs": [[243, 0, 0]]
},
{
"op": "null",
"name": "resnetv10_stage4_conv4_weight_quantize",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage4_conv4_weight_quantize_min",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage4_conv4_weight_quantize_max",
"inputs": []
},
{
"op": "_contrib_quantized_conv",
"name": "quantized_resnetv10_stage4_conv4_fwd",
"attrs": {
"dilate": "(1, 1)",
"kernel": "(3, 3)",
"layout": "NCHW",
"no_bias": "True",
"num_filter": "512",
"num_group": "1",
"pad": "(1, 1)",
"stride": "(1, 1)"
},
"inputs": [[244, 0, 0], [245, 0, 0], [244, 1, 0], [244, 2, 0], [246, 0, 0], [247, 0, 0]]
},
{
"op": "_contrib_requantize",
"name": "requantize_resnetv10_stage4_conv4_fwd",
"attrs": {"out_type": "uint8"},
"inputs": [[248, 0, 0], [248, 1, 0], [248, 2, 0]]
},
{
"op": "_contrib_dequantize",
"name": "resnetv10_stage4_conv4_fwd_dequantize",
"inputs": [[249, 0, 0], [249, 1, 0], [249, 2, 0]]
},
{
"op": "null",
"name": "resnetv10_stage4_batchnorm4_gamma",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(512,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage4_batchnorm4_beta",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(512,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage4_batchnorm4_running_mean",
"attrs": {
"__dtype__": "0",
"__init__": "zeros",
"__lr_mult__": "1.0",
"__shape__": "(512,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "null",
"name": "resnetv10_stage4_batchnorm4_running_var",
"attrs": {
"__dtype__": "0",
"__init__": "ones",
"__lr_mult__": "1.0",
"__shape__": "(512,)",
"__storage_type__": "0",
"__wd_mult__": "1.0"
},
"inputs": []
},
{
"op": "BatchNorm",
"name": "resnetv10_stage4_batchnorm4_fwd",
"attrs": {
"axis": "1",
"eps": "1e-05",
"fix_gamma": "False",
"momentum": "0.9",
"use_global_stats": "False"
},
"inputs": [[250, 0, 0], [251, 0, 0], [252, 0, 0], [253, 0, 1], [254, 0, 1]]
},
{
"op": "elemwise_add",
"name": "resnetv10_stage4__plus1",
"inputs": [[230, 0, 0], [255, 0, 0]]
},
{
"op": "Activation",
"name": "resnetv10_stage4_activation1",
"attrs": {"act_type": "relu"},
"inputs": [[256, 0, 0]]
},
{
"op": "_contrib_quantize_v2",
"name": "resnetv10_stage4_activation1_output_quantize",
"attrs": {"out_type": "uint8"},
"inputs": [[257, 0, 0]]
},
{
"op": "_contrib_quantized_pooling",
"name": "quantized_resnetv10_pool1_fwd",
"attrs": {
"global_pool": "True",
"kernel": "(1, 1)",
"layout": "NCHW",
"pad": "(0, 0)",
"pool_type": "avg",
"pooling_convention": "full",
"stride": "(1, 1)"
},
"inputs": [[258, 0, 0], [258, 1, 0], [258, 2, 0]]
},
{
"op": "null",
"name": "resnetv10_dense0_weight_quantize",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_dense0_bias_quantize",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_dense0_weight_quantize_min",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_dense0_weight_quantize_max",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_dense0_bias_quantize_min",
"inputs": []
},
{
"op": "null",
"name": "resnetv10_dense0_bias_quantize_max",
"inputs": []
},
{
"op": "_contrib_quantized_fully_connected",
"name": "quantized_resnetv10_dense0_fwd",
"attrs": {
"flatten": "True",
"no_bias": "False",
"num_hidden": "1000"
},
"inputs": [[259, 0, 0], [260, 0, 0], [261, 0, 0], [259, 1, 0], [259, 2, 0], [262, 0, 0], [263, 0, 0], [264, 0, 0], [265, 0, 0]]
},
{
"op": "_contrib_requantize",
"name": "requantize_resnetv10_dense0_fwd",
"attrs": {"out_type": "uint8"},
"inputs": [[266, 0, 0], [266, 1, 0], [266, 2, 0]]
},
{
"op": "_contrib_dequantize",
"name": "resnetv10_dense0_fwd_dequantize",
"inputs": [[267, 0, 0], [267, 1, 0], [267, 2, 0]]
}
],
"arg_nodes": [
0,
1,
2,
3,
4,
5,
10,
11,
12,
16,
17,
18,
19,
23,
24,
25,
29,
30,
31,
32,
37,
38,
39,
43,
44,
45,
46,
50,
51,
52,
56,
57,
58,
59,
64,
65,
66,
70,
71,
72,
73,
75,
76,
77,
81,
82,
83,
84,
88,
89,
90,
94,
95,
96,
97,
102,
103,
104,
108,
109,
110,
111,
115,
116,
117,
121,
122,
123,
124,
129,
130,
131,
135,
136,
137,
138,
140,
141,
142,
146,
147,
148,
149,
153,
154,
155,
159,
160,
161,
162,
167,
168,
169,
173,
174,
175,
176,
180,
181,
182,
186,
187,
188,
189,
194,
195,
196,
200,
201,
202,
203,
205,
206,
207,
211,
212,
213,
214,
218,
219,
220,
224,
225,
226,
227,
232,
233,
234,
238,
239,
240,
241,
245,
246,
247,
251,
252,
253,
254,
260,
261,
262,
263,
264,
265
],
"node_row_ptr": [
0,
1,
2,
3,
4,
5,
6,
7,
10,
13,
14,
15,
16,
17,
20,
23,
24,
25,
26,
27,
28,
31,
32,
35,
36,
37,
38,
41,
44,
45,
46,
47,
48,
49,
52,
53,
54,
57,
58,
59,
60,
63,
66,
67,
68,
69,
70,
71,
74,
75,
78,
79,
80,
81,
84,
87,
88,
89,
90,
91,
92,
95,
96,
97,
100,
101,
102,
103,
106,
109,
110,
111,
112,
113,
114,
117,
118,
119,
120,
123,
126,
127,
128,
129,
130,
131,
134,
135,
138,
139,
140,
141,
144,
147,
148,
149,
150,
151,
152,
155,
156,
157,
160,
161,
162,
163,
166,
169,
170,
171,
172,
173,
174,
177,
178,
181,
182,
183,
184,
187,
190,
191,
192,
193,
194,
195,
198,
199,
200,
203,
204,
205,
206,
209,
212,
213,
214,
215,
216,
217,
220,
221,
222,
223,
226,
229,
230,
231,
232,
233,
234,
237,
238,
241,
242,
243,
244,
247,
250,
251,
252,
253,
254,
255,
258,
259,
260,
263,
264,
265,
266,
269,
272,
273,
274,
275,
276,
277,
280,
281,
284,
285,
286,
287,
290,
293,
294,
295,
296,
297,
298,
301,
302,
303,
306,
307,
308,
309,
312,
315,
316,
317,
318,
319,
320,
323,
324,
325,
326,
329,
332,
333,
334,
335,
336,
337,
340,
341,
344,
345,
346,
347,
350,
353,
354,
355,
356,
357,
358,
361,
362,
363,
366,
367,
368,
369,
372,
375,
376,
377,
378,
379,
380,
383,
384,
387,
388,
389,
390,
393,
396,
397,
398,
399,
400,
401,
404,
405,
406,
409,
412,
413,
414,
415,
416,
417,
418,
421,
424,
425
],
"heads": [[268, 0, 0]],
"attrs": {"mxnet_version": ["int", 10500]}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment