Skip to content

Commit

Permalink
Update SIVI_2d.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mingzhang-yin authored Aug 26, 2020
1 parent 63eacce commit c457d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SIVI_2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def bi_gs(z1,z2,v,c):
z1 = tf.slice(z_sample, [0,0],[-1,1])
z2 = tf.slice(z_sample, [0,1],[-1,1])
log_P = tf.log(0.5*tf.exp(bi_gs(z1,z2,2.0,1.8))+0.5*tf.exp(bi_gs(z1,z2,2.0,-1.8)))
elif target == 'sin': # sin shape, set sigma=0.1 or less
elif target == 'sin':
z1 = tf.slice(z_sample, [0,0],[-1,1])
z2 = tf.slice(z_sample, [0,1],[-1,1])
w1 = tf.sin(z1)
Expand Down

0 comments on commit c457d09

Please sign in to comment.