Open quoniammm opened 6 years ago
Yeah, np.max should be used ideally. I used mean because it is consuming too much of GPU memory. Now, I think you should ideally sort samples with their lengths so that the padding could be minimised. That hasn't been implemented here. You can have a look here.
I feel that
np.max
should be used.However, here isnp.mean