ragged

Ragged list to dataframe

Ragged list to dataframe Question: I have a non-uniform list as follows: [[‘E’, ‘A’, ‘P’], [‘E’, ‘A’, ‘X’, ‘P’], [‘E’, ‘A’, ‘P’], [‘P’], [‘E’, ‘A’, ‘X’, ‘P’], [‘E’, ‘A’, ‘P’], [‘A’, ‘X’, ‘P’], [‘E’, ‘A’, ‘P’], [‘E’, ‘A’, ‘P’], [‘E’, ‘A’, ‘X’, ‘P’], [‘E’, ‘A’, ‘P’], [‘E’, ‘A’, ‘P’], [‘A’, ‘X’, ‘P’], I would like …

Total answers: 2

Pad the last dimension of a tensor with different lengths to a specific length

Pad the last dimension of a tensor with different lengths to a specific length Question: I have a similar question, this one TensorFlow – Pad unknown size tensor to a specific size?. My question is more difficult though, and I didn’t find any solutions can solve my question. My question is that what if the …

Total answers: 3