bayesiains / nflows

Normalizing flows in PyTorch
MIT License
851 stars 119 forks source link

Help with the use of the quadratic splines. #42

Open mtsatsev opened 3 years ago

mtsatsev commented 3 years ago

Hello, I have an issue when I try to use the quadratic splines autoregressive transform. The issue is that I dont know how to use it with 1d data. Say my data is of the shape [batch_size, 24]. Then how do I train it? I can make it to be [batch_size,1,24] or [batch_size,24,1] But I am not sure how to use this library.