File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -581,8 +581,8 @@ def forward(
581
581
) -> Union [Tensor , Tuple [Tensor , Any ]]:
582
582
mean_and_std = self .to_mean_and_std (x )
583
583
mean , std = mean_and_std .chunk (chunks = 2 , dim = 1 )
584
- std = torch .tanh (std ) # mean in range [-1, 1]
585
- mean = torch .tanh (mean ) + 1.0 # std in range [0, 2]
584
+ mean = torch .tanh (mean ) # mean in range [-1, 1]
585
+ std = torch .tanh (std ) + 1.0 # std in range [0, 2]
586
586
out = gaussian_sample (mean , std )
587
587
info = dict (
588
588
variational_kl_loss = kl_loss (mean , std ) * self .loss_weight ,
Original file line number Diff line number Diff line change 3
3
setup (
4
4
name = "audio-encoders-pytorch" ,
5
5
packages = find_packages (exclude = []),
6
- version = "0.0.12 " ,
6
+ version = "0.0.13 " ,
7
7
license = "MIT" ,
8
8
description = "Audio Encoders - PyTorch" ,
9
9
long_description_content_type = "text/markdown" ,
You can’t perform that action at this time.
0 commit comments