Thank you so much.
I can try to adapt some of your approaches.
The only thing is that,
when I said 1d, I meant 1xd, where d is number of features.
it seems like your implementation is for generates a single number.
I guess things you should workout without much patching, right?