masa-su / pixyz

A library for developing deep generative models in a more concise, intuitive and extendable way
https://pixyz.io
MIT License
487 stars 41 forks source link

Fix/feature dims #163

Closed ktaaaki closed 3 years ago

ktaaaki commented 3 years ago

Issue

The feature_dims option is disabled in get_log_prob, get_entropy, etc.. So you need to manually operate a resulting tensor when you want to keep dimensions other than batch dimension.

Solution