print("The result returned by upgrade_sublayer() is",res)
print("The result returned by upgrade_sublayer() is",res)
# The result returned by replace_sub() is {'blocks[11].depthwise_conv.conv': Conv2D(512, 512, kernel_size=[5, 5], padding=2, data_format=NCHW), 'blocks[12].depthwise_conv.conv': Conv2D(1024, 1024, kernel_size=[5, 5], padding=2, data_format=NCHW)}
# The result returned by upgrade_sublayer() is ['blocks[11].depthwise_conv.conv', 'blocks[12].depthwise_conv.conv']
print("\n\n========== the upgraded mobilenetv1 net arch ==========")
print("\n\n========== the upgraded mobilenetv1 net arch ==========")