提交 808adc34 编写于 作者: P Peng Li

Fix bug in computing output size of IdentityOffsetProjection

上级 5c5250e3
......@@ -559,6 +559,9 @@ class IdentityOffsetProjection(Projection):
**xargs)
self.proj_conf.offset = offset
def calc_output_size(self, input_layer_config):
return 0 # depends on the outside MixedLayer
def calc_parameter_size(self, input_size, output_size):
return 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册