def _compute_output_shape(self, input_shape):
input_shape = tf.TensorShape(input_shape)
input_shape = input_shape.with_rank_at_least(2)
return input_shape[:-1].concatenate(self._output_size)
seq2seq_helpers.py 文件源码
python
阅读 34
收藏 0
点赞 0
评论 0
评论列表
文章目录