File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -372,8 +372,8 @@ def log_prob_fn(x, y):
372
372
tfp .distributions .Normal (self ._constant (1. ), 1. ).log_prob (y )), ()
373
373
374
374
bijectors = [
375
- tfp .bijectors .AffineScalar (scale = self ._constant (2. )),
376
- tfp .bijectors .AffineScalar (scale = self ._constant (3. ))
375
+ tfp .bijectors .Scale (scale = self ._constant (2. )),
376
+ tfp .bijectors .Scale (scale = self ._constant (3. ))
377
377
]
378
378
379
379
(transformed_log_prob_fn ,
@@ -399,8 +399,8 @@ def log_prob_fn(x, y):
399
399
tfp .distributions .Normal (self ._constant (1. ), 1. ).log_prob (y )), ()
400
400
401
401
bijectors = {
402
- 'x' : tfp .bijectors .AffineScalar (scale = self ._constant (2. )),
403
- 'y' : tfp .bijectors .AffineScalar (scale = self ._constant (3. ))
402
+ 'x' : tfp .bijectors .Scale (scale = self ._constant (2. )),
403
+ 'y' : tfp .bijectors .Scale (scale = self ._constant (3. ))
404
404
}
405
405
406
406
(transformed_log_prob_fn ,
You can’t perform that action at this time.
0 commit comments