DLS Course 4 Week 1 - Convolution_model_Step_by_Step_v1 - Exercise 3

The shape of Z is:

Z -- conv output, numpy array of shape (m, n_H, n_W, n_C)

Also, you may find this post helpful.