EinsumNetworks icon indicating copy to clipboard operation
EinsumNetworks copied to clipboard

Fix missing num_var parameter in suff_stat reshape

Open braun-steven opened this issue 3 years ago • 0 comments

When the input for CategoricalArray was len(x.shape)==3, the reshape operation for the stats variable was missing the num_var variable and resulted in a wrong output shape (i.e. the -1 as first reshape-argument would then merge the batch size and num_var into a single dimension).

braun-steven avatar Jan 11 '21 12:01 braun-steven