Fix bug in computing output size of IdentityOffsetProjection

revert-4814-Add_sequence_project_op
Peng Li 8 years ago
parent 5c5250e3e0
commit 808adc346f

@ -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

Loading…
Cancel
Save