CNN week2 progrmming 1

Hi, I am working on CNN course Week 2 programming assigment 1.
def identity_block(X, f, filters, training=True, initializer=random_uniform):

error is at first step in BatchNormalization process using (X, training = training)

saying: (‘Input has undefined rank:’, TensorShape(None))

Please guide to resolve this error.

I corrected the error. Thanks

1 Like