import tensorflow as tf lenght = 4 mask_data = tf.sequence_mask(lengths=lenght) # 输出结果,输出结果是长度为4的array,前四个True array([ True ...
確定! 回上一頁