tensorflow-exercises
tensorflow-exercises copied to clipboard
Error in math1
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 :)