Skip to content

Commit

Permalink
s/total_shape/concentration_shape/
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 613268316
  • Loading branch information
ThomasColthurst authored and tensorflower-gardener committed Mar 6, 2024
1 parent e3cf1f4 commit 3adb838
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def fix_bates(d):
'tailweight': tfp_hps.softplus_plus_eps(),
'temperature': tfp_hps.softplus_plus_eps(),
'total_count': lambda x: tf.floor(tf.sigmoid(x / 100) * 100) + 1,
'total_shape': tfp_hps.shapes(min_ndims=1, min_lastdimsize=2),
'concentration_shape': tfp_hps.shapes(min_ndims=1, min_lastdimsize=2),
'Bates': fix_bates,
'Bernoulli': lambda d: dict(d, dtype=tf.float32),
'CholeskyLKJ': fix_lkj,
Expand Down

0 comments on commit 3adb838

Please sign in to comment.