Skip to content

Error in math1 #5

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

Open
vortexkd opened this issue Oct 5, 2017 · 0 comments
Open

Error in math1 #5

vortexkd opened this issue Oct 5, 2017 · 0 comments

Comments

@vortexkd
Copy link

vortexkd commented Oct 5, 2017

Q8.

_x = np.array([1, 2, 3], np.int32)
_y = np.array([4, 5, 6], np.int32)
_z = np.array([7, 8, 9], np.int32)

should add up to [12, 15, 18], given: [9,12, 15]
Also
Q10.
_x = np.array([1, -1]) x = tf.convert_to_tensor(_x) out1 = tf.negative(x) out2 = -x print(out.eval())
should have print(out.eval()) replaced with print(out1.eval())
and the answer is correspondingly:
[-1, 1]

thanks for the great tutorial :)

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

1 participant