Week 1 Assignment 1 conv_single_step

Code:

[code removed - moderator]

Error:
AssertionError: You must cast the output to float

Please help me out with this

Please use the hint provided in the notebook to fix the last step by converting b into a scalar:

Note: The variable b will be passed in as a numpy array. If you add a scalar (a float or integer) to a numpy array, the result is a numpy array. In the special case of a numpy array containing a single value, you can cast it as a float to convert it to a scalar.