reshape_op can not match size
Created by: liyingying05
预测的时候发现input_shape改变会在reshape层导致size不匹配的问题 问题应该是reshape_op中的output_shape[unk_dim_idx] 没有取float所导致,具体表现为: in_dim=[-1, 260, 35, 63] shape = [-1, 2, 1820, 14] Capacity = -12182014 = - 35840 in_size=-12603563=-573300 不取float output_shape[unk_dim_idx] = -in_size / capacity = 15 output_shape[unk_dim_idx] * capacity = 1535840 = 537600 != in_size 取float output_shape[unk_dim_idx] = -in_size / capacity = 15.9960938 output_shape[unk_dim_idx] * capacity = 15.996093835840 = 573300 == in_size