Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module no attribute mul?! #19

Open
Memes1 opened this issue Aug 25, 2017 · 1 comment
Open

module no attribute mul?! #19

Memes1 opened this issue Aug 25, 2017 · 1 comment

Comments

@Memes1
Copy link

Memes1 commented Aug 25, 2017

here's the code i got
Traceback (most recent call last):
File "rbm_chords.py", line 95, in
W_adder = tf.mul(lr/size_bt, tf.sub(tf.matmul(tf.transpose(x), h), tf.matmul(tf.transpose(x_sample), h_sample)))
AttributeError: 'module' object has no attribute 'mul'

@YJH1987
Copy link
Contributor

YJH1987 commented Sep 4, 2017

after tensorflow update, some functions were renamed, mul is now multiply and sub is now subtract.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants