samhodge commented on issue #9813: Unable to save gluon model to symbolic 
network : neural style
URL: 
https://github.com/apache/incubator-mxnet/issues/9813#issuecomment-368199853
 
 
   
   
   
   
   
   
   
   
   The hack
   ```
   def print_summary(symbol, shape=None, line_length=120, positions=[.44, .64, 
.74, 1.]):
       """Convert symbol for detail information.
   
       Parameters
       ----------
       symbol: Symbol
           Symbol to be visualized.
       shape: dict
           A dict of shapes, str->shape (tuple), given input shapes.
       line_length: int
           Rotal length of printed lines
       positions: list
           Relative or absolute positions of log elements in each line.
       Returns
       ------
       None
       """
       if not isinstance(symbol, Symbol):
           raise TypeError("symbol must be Symbol")
       show_shape = False
       if shape is not None:
           show_shape = True
           interals = symbol.get_internals()
           _, out_shapes, _ = interals.infer_shape(**shape)
           if out_shapes is None:
               raise ValueError("Input shape is incomplete")
           shape_dict = dict(zip(interals.list_outputs(), out_shapes))
       conf = json.loads(symbol.tojson())
       nodes = conf["nodes"]
       heads = set(conf["heads"][0])
       if positions[-1] <= 1:
           positions = [int(line_length * p) for p in positions]
       # header names for the different log elements
       to_display = ['Layer (type)', 'Output Shape', 'Param #', 'Previous 
Layer']
       def print_row(fields, positions):
           """Print format row.
   
           Parameters
           ----------
           fields: list
               Information field.
           positions: list
               Field length ratio.
           Returns
           ------
           None
           """
           line = ''
           for i, field in enumerate(fields):
               line += str(field)
               line = line[:positions[i]]
               line += ' ' * (positions[i] - len(line))
           print(line)
       print('_' * line_length)
       print_row(to_display, positions)
       print('=' * line_length)
       def print_layer_summary(node, out_shape):
           """print layer information
   
           Parameters
           ----------
           node: dict
               Node information.
           out_shape: dict
               Node shape information.
           Returns
           ------
               Node total parameters.
           """
           op = node["op"]
           pre_node = []
           pre_filter = 0
           if op != "null":
               inputs = node["inputs"]
               for item in inputs:
                   input_node = nodes[item[0]]
                   input_name = input_node["name"]
                   if input_node["op"] != "null" or item[0] in heads:
                       # add precede
                       pre_node.append(input_name)
                       if show_shape:
                           if input_node["op"] != "null":
                               key = input_name + "_output"
                           else:
                               key = input_name
                           if key in shape_dict:
                               shape = shape_dict[key][1:]
                               pre_filter = pre_filter + int(shape[0])
           cur_param = 0
           if op == 'Convolution':
               if ("no_bias" in node["attrs"]) and 
(isinstance(node["attrs"]["no_bias"],(bool,int)) and 
int(node["attrs"]["no_bias"])) or ((isinstance(node["attrs"]["no_bias"],(str)) 
and bool(node["attrs"]["no_bias"]))):
                   cur_param = pre_filter * int(node["attrs"]["num_filter"])
                   for k in _str2tuple(node["attrs"]["kernel"]):
                       cur_param *= int(k)
               else:
                   cur_param = pre_filter * int(node["attrs"]["num_filter"])
                   for k in _str2tuple(node["attrs"]["kernel"]):
                       cur_param *= int(k)
                   cur_param += int(node["attrs"]["num_filter"])
           elif op == 'FullyConnected':
               if ("no_bias" in node["attrs"]) and 
int(node["attrs"]["no_bias"]):
                   cur_param = pre_filter * (int(node["attrs"]["num_hidden"]))
               else:
                   cur_param = (pre_filter+1) * 
(int(node["attrs"]["num_hidden"]))
           elif op == 'BatchNorm':
               key = node["name"] + "_output"
               if show_shape:
                   num_filter = shape_dict[key][1]
                   cur_param = int(num_filter) * 2
           if not pre_node:
               first_connection = ''
           else:
               first_connection = pre_node[0]
           fields = [node['name'] + '(' + op + ')',
                     "x".join([str(x) for x in out_shape]),
                     cur_param,
                     first_connection]
           print_row(fields, positions)
           if len(pre_node) > 1:
               for i in range(1, len(pre_node)):
                   fields = ['', '', '', pre_node[i]]
                   print_row(fields, positions)
           return cur_param
       total_params = 0
       for i, node in enumerate(nodes):
           out_shape = []
           op = node["op"]
           if op == "null" and i > 0:
               continue
           if op != "null" or i in heads:
               if show_shape:
                   if op != "null":
                       key = node["name"] + "_output"
                   else:
                       key = node["name"]
                   if key in shape_dict:
                       out_shape = shape_dict[key][1:]
           total_params += print_layer_summary(nodes[i], out_shape)
           if i == len(nodes) - 1:
               print('=' * line_length)
           else:
               print('_' * line_length)
       print('Total params: %s' % total_params)
       print('_' * line_length)
   ```
   
   And the result:
   
   ```
   
________________________________________________________________________________________________________________________
   Layer (type)                                        Output Shape            
Param #     Previous Layer                  
   
========================================================================================================================
   net0_inspiration0_weight(null)                      512x512                 
0                                           
   
________________________________________________________________________________________________________________________
   net0_inspiration0_broadcast_to0(broadcast_to)       512x512                 
0           net0_inspiration0_weight        
   
________________________________________________________________________________________________________________________
   net0_inspiration0_batch_dot0(batch_dot)             512x512                 
0           net0_inspiration0_broadcast_to0 
   
________________________________________________________________________________________________________________________
   net0_inspiration0_swapaxis0(SwapAxis)               512x512                 
0           net0_inspiration0_batch_dot0    
   
________________________________________________________________________________________________________________________
   net0_inspiration0_broadcast_to1(broadcast_to)       512x512                 
0           net0_inspiration0_swapaxis0     
   
________________________________________________________________________________________________________________________
   net0_reflectancepadding0_pad0(Pad)                  3x1926x1086             
0                                           
   
________________________________________________________________________________________________________________________
   net0_conv0_fwd(Convolution)                         64x1920x1080            
9472        net0_reflectancepadding0_pad0   
   
________________________________________________________________________________________________________________________
   net0_instancenorm0_fwd(InstanceNorm)                64x1920x1080            
0           net0_conv0_fwd                  
   
________________________________________________________________________________________________________________________
   net0_relu0_fwd(Activation)                          64x1920x1080            
0           net0_instancenorm0_fwd          
   
________________________________________________________________________________________________________________________
   net0_conv1_fwd(Convolution)                         128x960x540             
8320        net0_relu0_fwd                  
   
________________________________________________________________________________________________________________________
   net0_hybridsequential2_instancenorm0_fwd(InstanceNor64x1920x1080            
0           net0_relu0_fwd                  
   
________________________________________________________________________________________________________________________
   net0_hybridsequential2_relu0_fwd(Activation)        64x1920x1080            
0           net0_hybridsequential2_instancen
   
________________________________________________________________________________________________________________________
   net0_hybridsequential2_conv0_fwd(Convolution)       32x1920x1080            
2080        net0_hybridsequential2_relu0_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential2_instancenorm1_fwd(InstanceNor32x1920x1080            
0           net0_hybridsequential2_conv0_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential2_relu1_fwd(Activation)        32x1920x1080            
0           net0_hybridsequential2_instancen
   
________________________________________________________________________________________________________________________
   net0_hybridsequential2_reflectancepadding0_pad0(Pad)32x1922x1082            
0           net0_hybridsequential2_relu1_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential2_conv1_fwd(Convolution)       32x960x540              
9248        net0_hybridsequential2_reflectan
   
________________________________________________________________________________________________________________________
   net0_hybridsequential2_instancenorm2_fwd(InstanceNor32x960x540              
0           net0_hybridsequential2_conv1_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential2_relu2_fwd(Activation)        32x960x540              
0           net0_hybridsequential2_instancen
   
________________________________________________________________________________________________________________________
   net0_hybridsequential2_conv2_fwd(Convolution)       128x960x540             
4224        net0_hybridsequential2_relu2_fwd
   
________________________________________________________________________________________________________________________
   net0_bottleneck0__plus0(elemwise_add)               128x960x540             
0           net0_conv1_fwd                  
                                                                                
           net0_hybridsequential2_conv2_fwd
   
________________________________________________________________________________________________________________________
   net0_conv2_fwd(Convolution)                         512x480x270             
66048       net0_bottleneck0__plus0         
   
________________________________________________________________________________________________________________________
   net0_hybridsequential3_instancenorm0_fwd(InstanceNor128x960x540             
0           net0_bottleneck0__plus0         
   
________________________________________________________________________________________________________________________
   net0_hybridsequential3_relu0_fwd(Activation)        128x960x540             
0           net0_hybridsequential3_instancen
   
________________________________________________________________________________________________________________________
   net0_hybridsequential3_conv0_fwd(Convolution)       128x960x540             
16512       net0_hybridsequential3_relu0_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential3_instancenorm1_fwd(InstanceNor128x960x540             
0           net0_hybridsequential3_conv0_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential3_relu1_fwd(Activation)        128x960x540             
0           net0_hybridsequential3_instancen
   
________________________________________________________________________________________________________________________
   net0_hybridsequential3_reflectancepadding0_pad0(Pad)128x962x542             
0           net0_hybridsequential3_relu1_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential3_conv1_fwd(Convolution)       128x480x270             
147584      net0_hybridsequential3_reflectan
   
________________________________________________________________________________________________________________________
   net0_hybridsequential3_instancenorm2_fwd(InstanceNor128x480x270             
0           net0_hybridsequential3_conv1_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential3_relu2_fwd(Activation)        128x480x270             
0           net0_hybridsequential3_instancen
   
________________________________________________________________________________________________________________________
   net0_hybridsequential3_conv2_fwd(Convolution)       512x480x270             
66048       net0_hybridsequential3_relu2_fwd
   
________________________________________________________________________________________________________________________
   net0_bottleneck1__plus0(elemwise_add)               512x480x270             
0           net0_conv2_fwd                  
                                                                                
           net0_hybridsequential3_conv2_fwd
   
________________________________________________________________________________________________________________________
   net0_inspiration0_reshape0(Reshape)                 512x129600              
0           net0_bottleneck1__plus0         
   
________________________________________________________________________________________________________________________
   net0_inspiration0_batch_dot1(batch_dot)             512x129600              
0           net0_inspiration0_broadcast_to1 
                                                                                
           net0_inspiration0_reshape0      
   
________________________________________________________________________________________________________________________
   net0_inspiration0_reshape1(Reshape)                 512x480x270             
0           net0_inspiration0_batch_dot1    
   
________________________________________________________________________________________________________________________
   net0_hybridsequential4_instancenorm0_fwd(InstanceNor512x480x270             
0           net0_inspiration0_reshape1      
   
________________________________________________________________________________________________________________________
   net0_hybridsequential4_relu0_fwd(Activation)        512x480x270             
0           net0_hybridsequential4_instancen
   
________________________________________________________________________________________________________________________
   net0_hybridsequential4_conv0_fwd(Convolution)       128x480x270             
65664       net0_hybridsequential4_relu0_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential4_instancenorm1_fwd(InstanceNor128x480x270             
0           net0_hybridsequential4_conv0_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential4_relu1_fwd(Activation)        128x480x270             
0           net0_hybridsequential4_instancen
   
________________________________________________________________________________________________________________________
   net0_hybridsequential4_reflectancepadding0_pad0(Pad)128x482x272             
0           net0_hybridsequential4_relu1_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential4_conv1_fwd(Convolution)       128x480x270             
147584      net0_hybridsequential4_reflectan
   
________________________________________________________________________________________________________________________
   net0_hybridsequential4_instancenorm2_fwd(InstanceNor128x480x270             
0           net0_hybridsequential4_conv1_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential4_relu2_fwd(Activation)        128x480x270             
0           net0_hybridsequential4_instancen
   
________________________________________________________________________________________________________________________
   net0_hybridsequential4_conv2_fwd(Convolution)       512x480x270             
66048       net0_hybridsequential4_relu2_fwd
   
________________________________________________________________________________________________________________________
   net0_bottleneck2__plus0(elemwise_add)               512x480x270             
0           net0_inspiration0_reshape1      
                                                                                
           net0_hybridsequential4_conv2_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential5_instancenorm0_fwd(InstanceNor512x480x270             
0           net0_bottleneck2__plus0         
   
________________________________________________________________________________________________________________________
   net0_hybridsequential5_relu0_fwd(Activation)        512x480x270             
0           net0_hybridsequential5_instancen
   
________________________________________________________________________________________________________________________
   net0_hybridsequential5_conv0_fwd(Convolution)       128x480x270             
65664       net0_hybridsequential5_relu0_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential5_instancenorm1_fwd(InstanceNor128x480x270             
0           net0_hybridsequential5_conv0_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential5_relu1_fwd(Activation)        128x480x270             
0           net0_hybridsequential5_instancen
   
________________________________________________________________________________________________________________________
   net0_hybridsequential5_reflectancepadding0_pad0(Pad)128x482x272             
0           net0_hybridsequential5_relu1_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential5_conv1_fwd(Convolution)       128x480x270             
147584      net0_hybridsequential5_reflectan
   
________________________________________________________________________________________________________________________
   net0_hybridsequential5_instancenorm2_fwd(InstanceNor128x480x270             
0           net0_hybridsequential5_conv1_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential5_relu2_fwd(Activation)        128x480x270             
0           net0_hybridsequential5_instancen
   
________________________________________________________________________________________________________________________
   net0_hybridsequential5_conv2_fwd(Convolution)       512x480x270             
66048       net0_hybridsequential5_relu2_fwd
   
________________________________________________________________________________________________________________________
   net0_bottleneck3__plus0(elemwise_add)               512x480x270             
0           net0_bottleneck2__plus0         
                                                                                
           net0_hybridsequential5_conv2_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential6_instancenorm0_fwd(InstanceNor512x480x270             
0           net0_bottleneck3__plus0         
   
________________________________________________________________________________________________________________________
   net0_hybridsequential6_relu0_fwd(Activation)        512x480x270             
0           net0_hybridsequential6_instancen
   
________________________________________________________________________________________________________________________
   net0_hybridsequential6_conv0_fwd(Convolution)       128x480x270             
65664       net0_hybridsequential6_relu0_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential6_instancenorm1_fwd(InstanceNor128x480x270             
0           net0_hybridsequential6_conv0_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential6_relu1_fwd(Activation)        128x480x270             
0           net0_hybridsequential6_instancen
   
________________________________________________________________________________________________________________________
   net0_hybridsequential6_reflectancepadding0_pad0(Pad)128x482x272             
0           net0_hybridsequential6_relu1_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential6_conv1_fwd(Convolution)       128x480x270             
147584      net0_hybridsequential6_reflectan
   
________________________________________________________________________________________________________________________
   net0_hybridsequential6_instancenorm2_fwd(InstanceNor128x480x270             
0           net0_hybridsequential6_conv1_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential6_relu2_fwd(Activation)        128x480x270             
0           net0_hybridsequential6_instancen
   
________________________________________________________________________________________________________________________
   net0_hybridsequential6_conv2_fwd(Convolution)       512x480x270             
66048       net0_hybridsequential6_relu2_fwd
   
________________________________________________________________________________________________________________________
   net0_bottleneck4__plus0(elemwise_add)               512x480x270             
0           net0_bottleneck3__plus0         
                                                                                
           net0_hybridsequential6_conv2_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential7_instancenorm0_fwd(InstanceNor512x480x270             
0           net0_bottleneck4__plus0         
   
________________________________________________________________________________________________________________________
   net0_hybridsequential7_relu0_fwd(Activation)        512x480x270             
0           net0_hybridsequential7_instancen
   
________________________________________________________________________________________________________________________
   net0_hybridsequential7_conv0_fwd(Convolution)       128x480x270             
65664       net0_hybridsequential7_relu0_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential7_instancenorm1_fwd(InstanceNor128x480x270             
0           net0_hybridsequential7_conv0_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential7_relu1_fwd(Activation)        128x480x270             
0           net0_hybridsequential7_instancen
   
________________________________________________________________________________________________________________________
   net0_hybridsequential7_reflectancepadding0_pad0(Pad)128x482x272             
0           net0_hybridsequential7_relu1_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential7_conv1_fwd(Convolution)       128x480x270             
147584      net0_hybridsequential7_reflectan
   
________________________________________________________________________________________________________________________
   net0_hybridsequential7_instancenorm2_fwd(InstanceNor128x480x270             
0           net0_hybridsequential7_conv1_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential7_relu2_fwd(Activation)        128x480x270             
0           net0_hybridsequential7_instancen
   
________________________________________________________________________________________________________________________
   net0_hybridsequential7_conv2_fwd(Convolution)       512x480x270             
66048       net0_hybridsequential7_relu2_fwd
   
________________________________________________________________________________________________________________________
   net0_bottleneck5__plus0(elemwise_add)               512x480x270             
0           net0_bottleneck4__plus0         
                                                                                
           net0_hybridsequential7_conv2_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential8_instancenorm0_fwd(InstanceNor512x480x270             
0           net0_bottleneck5__plus0         
   
________________________________________________________________________________________________________________________
   net0_hybridsequential8_relu0_fwd(Activation)        512x480x270             
0           net0_hybridsequential8_instancen
   
________________________________________________________________________________________________________________________
   net0_hybridsequential8_conv0_fwd(Convolution)       128x480x270             
65664       net0_hybridsequential8_relu0_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential8_instancenorm1_fwd(InstanceNor128x480x270             
0           net0_hybridsequential8_conv0_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential8_relu1_fwd(Activation)        128x480x270             
0           net0_hybridsequential8_instancen
   
________________________________________________________________________________________________________________________
   net0_hybridsequential8_reflectancepadding0_pad0(Pad)128x482x272             
0           net0_hybridsequential8_relu1_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential8_conv1_fwd(Convolution)       128x480x270             
147584      net0_hybridsequential8_reflectan
   
________________________________________________________________________________________________________________________
   net0_hybridsequential8_instancenorm2_fwd(InstanceNor128x480x270             
0           net0_hybridsequential8_conv1_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential8_relu2_fwd(Activation)        128x480x270             
0           net0_hybridsequential8_instancen
   
________________________________________________________________________________________________________________________
   net0_hybridsequential8_conv2_fwd(Convolution)       512x480x270             
66048       net0_hybridsequential8_relu2_fwd
   
________________________________________________________________________________________________________________________
   net0_bottleneck6__plus0(elemwise_add)               512x480x270             
0           net0_bottleneck5__plus0         
                                                                                
           net0_hybridsequential8_conv2_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential9_instancenorm0_fwd(InstanceNor512x480x270             
0           net0_bottleneck6__plus0         
   
________________________________________________________________________________________________________________________
   net0_hybridsequential9_relu0_fwd(Activation)        512x480x270             
0           net0_hybridsequential9_instancen
   
________________________________________________________________________________________________________________________
   net0_hybridsequential9_conv0_fwd(Convolution)       128x480x270             
65664       net0_hybridsequential9_relu0_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential9_instancenorm1_fwd(InstanceNor128x480x270             
0           net0_hybridsequential9_conv0_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential9_relu1_fwd(Activation)        128x480x270             
0           net0_hybridsequential9_instancen
   
________________________________________________________________________________________________________________________
   net0_hybridsequential9_reflectancepadding0_pad0(Pad)128x482x272             
0           net0_hybridsequential9_relu1_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential9_conv1_fwd(Convolution)       128x480x270             
147584      net0_hybridsequential9_reflectan
   
________________________________________________________________________________________________________________________
   net0_hybridsequential9_instancenorm2_fwd(InstanceNor128x480x270             
0           net0_hybridsequential9_conv1_fwd
   
________________________________________________________________________________________________________________________
   net0_hybridsequential9_relu2_fwd(Activation)        128x480x270             
0           net0_hybridsequential9_instancen
   
________________________________________________________________________________________________________________________
   net0_hybridsequential9_conv2_fwd(Convolution)       512x480x270             
66048       net0_hybridsequential9_relu2_fwd
   
________________________________________________________________________________________________________________________
   net0_bottleneck7__plus0(elemwise_add)               512x480x270             
0           net0_bottleneck6__plus0         
                                                                                
           net0_hybridsequential9_conv2_fwd
   
________________________________________________________________________________________________________________________
   net0_upsampleconvlayer0_upsampling0(UpSampling)     512x960x540             
0           net0_bottleneck7__plus0         
   
________________________________________________________________________________________________________________________
   net0_conv3_fwd(Convolution)                         128x960x540             
65664       net0_upsampleconvlayer0_upsampli
   
________________________________________________________________________________________________________________________
   net0_hybridsequential10_instancenorm0_fwd(InstanceNo512x480x270             
0           net0_bottleneck7__plus0         
   
________________________________________________________________________________________________________________________
   net0_hybridsequential10_relu0_fwd(Activation)       512x480x270             
0           net0_hybridsequential10_instance
   
________________________________________________________________________________________________________________________
   net0_hybridsequential10_conv0_fwd(Convolution)      32x480x270              
16416       net0_hybridsequential10_relu0_fw
   
________________________________________________________________________________________________________________________
   net0_hybridsequential10_instancenorm1_fwd(InstanceNo32x480x270              
0           net0_hybridsequential10_conv0_fw
   
________________________________________________________________________________________________________________________
   net0_hybridsequential10_relu1_fwd(Activation)       32x480x270              
0           net0_hybridsequential10_instance
   
________________________________________________________________________________________________________________________
   net0_hybridsequential10_upsampleconvlayer0_upsamplin32x960x540              
0           net0_hybridsequential10_relu1_fw
   
________________________________________________________________________________________________________________________
   net0_hybridsequential10_conv1_fwd(Convolution)      32x960x540              
9248        net0_hybridsequential10_upsample
   
________________________________________________________________________________________________________________________
   net0_hybridsequential10_instancenorm2_fwd(InstanceNo32x960x540              
0           net0_hybridsequential10_conv1_fw
   
________________________________________________________________________________________________________________________
   net0_hybridsequential10_relu2_fwd(Activation)       32x960x540              
0           net0_hybridsequential10_instance
   
________________________________________________________________________________________________________________________
   net0_hybridsequential10_conv2_fwd(Convolution)      128x960x540             
4224        net0_hybridsequential10_relu2_fw
   
________________________________________________________________________________________________________________________
   net0_upbottleneck0__plus0(elemwise_add)             128x960x540             
0           net0_conv3_fwd                  
                                                                                
           net0_hybridsequential10_conv2_fw
   
________________________________________________________________________________________________________________________
   net0_upsampleconvlayer1_upsampling0(UpSampling)     128x1920x1080           
0           net0_upbottleneck0__plus0       
   
________________________________________________________________________________________________________________________
   net0_conv4_fwd(Convolution)                         64x1920x1080            
8256        net0_upsampleconvlayer1_upsampli
   
________________________________________________________________________________________________________________________
   net0_hybridsequential11_instancenorm0_fwd(InstanceNo128x960x540             
0           net0_upbottleneck0__plus0       
   
________________________________________________________________________________________________________________________
   net0_hybridsequential11_relu0_fwd(Activation)       128x960x540             
0           net0_hybridsequential11_instance
   
________________________________________________________________________________________________________________________
   net0_hybridsequential11_conv0_fwd(Convolution)      16x960x540              
2064        net0_hybridsequential11_relu0_fw
   
________________________________________________________________________________________________________________________
   net0_hybridsequential11_instancenorm1_fwd(InstanceNo16x960x540              
0           net0_hybridsequential11_conv0_fw
   
________________________________________________________________________________________________________________________
   net0_hybridsequential11_relu1_fwd(Activation)       16x960x540              
0           net0_hybridsequential11_instance
   
________________________________________________________________________________________________________________________
   net0_hybridsequential11_upsampleconvlayer0_upsamplin16x1920x1080            
0           net0_hybridsequential11_relu1_fw
   
________________________________________________________________________________________________________________________
   net0_hybridsequential11_conv1_fwd(Convolution)      16x1920x1080            
2320        net0_hybridsequential11_upsample
   
________________________________________________________________________________________________________________________
   net0_hybridsequential11_instancenorm2_fwd(InstanceNo16x1920x1080            
0           net0_hybridsequential11_conv1_fw
   
________________________________________________________________________________________________________________________
   net0_hybridsequential11_relu2_fwd(Activation)       16x1920x1080            
0           net0_hybridsequential11_instance
   
________________________________________________________________________________________________________________________
   net0_hybridsequential11_conv2_fwd(Convolution)      64x1920x1080            
1088        net0_hybridsequential11_relu2_fw
   
________________________________________________________________________________________________________________________
   net0_upbottleneck1__plus0(elemwise_add)             64x1920x1080            
0           net0_conv4_fwd                  
                                                                                
           net0_hybridsequential11_conv2_fw
   
________________________________________________________________________________________________________________________
   net0_instancenorm1_fwd(InstanceNorm)                64x1920x1080            
0           net0_upbottleneck1__plus0       
   
________________________________________________________________________________________________________________________
   net0_relu1_fwd(Activation)                          64x1920x1080            
0           net0_instancenorm1_fwd          
   
________________________________________________________________________________________________________________________
   net0_reflectancepadding1_pad0(Pad)                  64x1926x1086            
0           net0_relu1_fwd                  
   
________________________________________________________________________________________________________________________
   net0_conv5_fwd(Convolution)                         3x1920x1080             
9411        net0_reflectancepadding1_pad0   
   
========================================================================================================================
   Total params: 2124003
   
________________________________________________________________________________________________________________________
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to