ec2f475ddf9a2b301e3ccd5d9255596fbcbeb524,mmdnn/conversion/caffe/caffe_emitter.py,CaffeEmitter,emit_Conv,#CaffeEmitter#Any#,168
Before Change
pad_w = IR_parent_node.get_attr("pads")[2]
else:
pad_h = IR_node.get_attr("pads")[1]
pad_w = IR_node.get_attr("pads")[2]
num_output = IR_node.get_attr("kernel_shape")[-1]
if IR_node.type == "DepthwiseConv":
num_group = IR_node.get_attr("kernel_shape")[-2]
After Change
def emit_Conv(self, IR_node):
// implement asymmetric paddings by applying symmetric padding then cropping
pad_h, pad_w = self._get_symmetric_padding(IR_node)
num_output = IR_node.get_attr("kernel_shape")[-1]
if IR_node.type == "DepthwiseConv":
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: Microsoft/MMdnn
Commit Name: ec2f475ddf9a2b301e3ccd5d9255596fbcbeb524
Time: 2018-07-14
Author: samccui@tencent.com
File Name: mmdnn/conversion/caffe/caffe_emitter.py
Class Name: CaffeEmitter
Method Name: emit_Conv
Project Name: Microsoft/MMdnn
Commit Name: ec2f475ddf9a2b301e3ccd5d9255596fbcbeb524
Time: 2018-07-14
Author: samccui@tencent.com
File Name: mmdnn/conversion/caffe/caffe_emitter.py
Class Name: CaffeEmitter
Method Name: compute_output_shape
Project Name: Microsoft/MMdnn
Commit Name: ec2f475ddf9a2b301e3ccd5d9255596fbcbeb524
Time: 2018-07-14
Author: samccui@tencent.com
File Name: mmdnn/conversion/caffe/caffe_emitter.py
Class Name: CaffeEmitter
Method Name: emit_Pool