Jazz solo assignment error

Hi I’m getting an error after defining the djmodel. When I ran the given unit test:

output = summary(model)
comparator(output, djmodel_out)

the output is an attribute error:

AttributeError                            Traceback (most recent call last)
<ipython-input-12-07563389da6e> in <module>
      1 # UNIT TEST
----> 2 output = summary(model)
      3 # comparator(output, djmodel_out)

~/work/W1A3/test_utils.py in summary(model)
     34     result = []
     35     for layer in model.layers:
---> 36         descriptors = [layer.__class__.__name__, layer.output_shape, layer.count_params()]
     37         if (type(layer) == Conv2D):
     38             descriptors.append(layer.padding)

/opt/conda/lib/python3.7/site-packages/tensorflow/python/keras/engine/base_layer.py in output_shape(self)
   2190                            'ill-defined for the layer. '
   2191                            'Use `get_output_shape_at(node_index)` '
-> 2192                            'instead.' % self.name)
   2194   @property

AttributeError: The layer "lstm" has multiple inbound nodes, with different output shapes. Hence the notion of "output shape" is ill-defined for the layer. Use `get_output_shape_at(node_index)` instead.

never mind. The problem is at step 2A. Don’t forget that X has a shape of (m, Tx, n_values), so slicing would be var1 = array1[:,1,:]