ragged Questions

2

Solved

I have a ragged tensor of dimensions [BATCH_SIZE, TIME_STEPS, EMBEDDING_DIM]. I want to augment the last axis with data from another tensor of shape [BATCH_SIZE, AUG_DIM]. Each time step of a given...
Leavenworth asked 12/3, 2021 at 18:55

1

Solved

Tensorflow provides ragged tensors (https://www.tensorflow.org/guide/ragged_tensor). PyTorch however doesn't provide such a data structure. Is there a workaround to construct something similar in P...
Breeches asked 8/10, 2019 at 14:0

4

Solved

I have a csv file that has a few hundred rows and 26 columns, but the last few columns only have a value in a few rows and they are towards the middle or end of the file. When I try to read it in u...
Mckelvey asked 22/11, 2013 at 20:54

1

Solved

To motivate my question, consider the case when dealing with jagged arrays (for simplicity's sake) of element type Int in Julia. There are two ways to store them: As Vector{Vector{Int}} As Vector...
1

© 2022 - 2024 — McMap. All rights reserved.