tf.Tensor(
[[[1.0763421e+00 0.0000000e+00 3.3232409e-01 0.0000000e+00 7.1733320e-01
2.9889154e-01]
[5.3662288e-01 0.0000000e+00 0.0000000e+00 0.0000000e+00 8.5235703e-01
0.0000000e+00]]
[[4.7234151e-01 0.0000000e+00 0.0000000e+00 0.0000000e+00 8.0212694e-01
6.4355135e-04]
[3.3868679e-01 1.2136540e-01 0.0000000e+00 0.0000000e+00 1.0314488e+00
0.0000000e+00]]], shape=(2, 2, 6), dtype=float32)
AssertionError Traceback (most recent call last)
Input In [15], in <cell line: 3>()
1 ### you cannot edit this cell
----> 3 public_tests.convolutional_block_test(convolutional_block)
File /tf/W2A1/public_tests.py:115, in convolutional_block_test(target)
112 tf.keras.backend.set_learning_phase(True)
114 C = target(X, f = 2, filters = [2, 4, 6])
→ 115 assert np.allclose(C.numpy(), convolutional_block_output2), “Wrong values when training=True.”
117 print(‘\033[92mAll tests passed!’)
AssertionError: Wrong values when training=True.
I am getting error for convolution block code. code is all fine but I am getting below error. In the given structure we dont even have the placeholder to choose training as true or false so How come I get this error and how to fix it