Skip to content

Error in math1 #5

@vortexkd

Description

@vortexkd

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions