da6852d07ac747bb608fa0ea6586a642179b5284,mmdnn/conversion/mxnet/mxnet_emitter.py,MXNetEmitter,emit_LRN,#MXNetEmitter#Any#,964
Before Change
self.parent_variable_name(IR_node),
IR_node.layer.attr["alpha"].f,
IR_node.layer.attr["beta"].f,
IR_node.layer.attr["bias"].f,
IR_node.layer.attr["size"].i * 2 - 1,
IR_node.name)
return code
After Change
output_name = IR_node.variable_name
input_name = self.parent_variable_name(IR_node)
IR_name = IR_node.name
alpha = IR_node.get_attr("alpha")
beta = IR_node.get_attr("beta")
bias = IR_node.get_attr("bias")
size = IR_node.get_attr("size")
code = "{:<15} = mx.sym.LRN(data = {}, alpha = {}, beta = {}, knorm = {}, nsize = {}, name = "{}")".format(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 11
Instances
Project Name: Microsoft/MMdnn
Commit Name: da6852d07ac747bb608fa0ea6586a642179b5284
Time: 2020-03-23
Author: 50827462+XiaoXYe@users.noreply.github.com
File Name: mmdnn/conversion/mxnet/mxnet_emitter.py
Class Name: MXNetEmitter
Method Name: emit_LRN
Project Name: Microsoft/MMdnn
Commit Name: da6852d07ac747bb608fa0ea6586a642179b5284
Time: 2020-03-23
Author: 50827462+XiaoXYe@users.noreply.github.com
File Name: mmdnn/conversion/cntk/cntk_emitter.py
Class Name: CntkEmitter
Method Name: emit_LRN
Project Name: Microsoft/MMdnn
Commit Name: da6852d07ac747bb608fa0ea6586a642179b5284
Time: 2020-03-23
Author: 50827462+XiaoXYe@users.noreply.github.com
File Name: mmdnn/conversion/mxnet/mxnet_emitter.py
Class Name: MXNetEmitter
Method Name: emit_LRN
Project Name: Microsoft/MMdnn
Commit Name: 85d373b4553b2bc12addd6e7e2d955b66a032f2e
Time: 2018-07-20
Author: kitseraph@outlook.com
File Name: mmdnn/conversion/tensorflow/tensorflow_emitter.py
Class Name: TensorflowEmitter
Method Name: emit_LRN