How do I create padded batches in Tensorflow for tf.train.SequenceExample data using the DataSet API?

后端 未结 4 562
余生分开走
余生分开走 2020-12-31 02:53

For training an LSTM model in Tensorflow, I have structured my data into a tf.train.SequenceExample format and stored it i

4条回答
  •  既然无缘
    2020-12-31 03:45

    You may need to get help from the dataset output shapes:

    padded_shapes = dataset.output_shapes
    

提交回复
热议问题