提交 436c0e09 编写于 作者: P Peng LI 提交者: GitHub

Merge pull request #4825 from pengli09/fix-bug-in-identity-offset-projection-output-size

Fix bug in computing output size of IdentityOffsetProjection
......@@ -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.
先完成此消息的编辑!
想要评论请 注册