提交 b68c8958 编写于 作者: A andyjpaddle

fix code style

上级 d6115158
...@@ -195,7 +195,7 @@ class ParallelSARDecoder(BaseDecoder): ...@@ -195,7 +195,7 @@ class ParallelSARDecoder(BaseDecoder):
# Prediction layer # Prediction layer
self.pred_dropout = nn.Dropout(pred_dropout) self.pred_dropout = nn.Dropout(pred_dropout)
pred_num_classes = num_classes - 1 pred_num_classes = self.num_classes - 1
if pred_concat: if pred_concat:
fc_in_channel = decoder_rnn_out_size + d_model + d_enc fc_in_channel = decoder_rnn_out_size + d_model + d_enc
else: else:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册