loughp
1
Hi I am getting an error on the shape can you help please
AssertionError Traceback (most recent call last)
in
12 assert type(A) == EagerTensor, “Use only tensorflow and keras functions”
13 assert tuple(tf.shape(A).numpy()) == (3, 2, 2, 6), “Wrong shape.”
—> 14 assert np.allclose(A.numpy(), convolutional_block_output1), “Wrong values when training=False.”
15 print(A[0])
16
AssertionError: Wrong values when training=False.
TMosh
2
The error isn’t the shape. It is for the value.
loughp
3
I’ve got x_shortcut and X in what seems to be the correct places but I still keep on getting this error?
loughp
4
I get this
AssertionError Traceback (most recent call last)
in
11
12 assert type(A) == EagerTensor, “Use only tensorflow and keras functions”
—> 13 assert tuple(tf.shape(A).numpy()) == (3, 2, 2, 6), “Wrong shape.”
14 assert np.allclose(A.numpy(), convolutional_block_output1), “Wrong values when training=False.”
15 print(A[0])
AssertionError: Wrong shape.