W4 assignment 4 linear activation forward

after running code its showing an error of b s missing in linear forward(), although i already have written it while calculating z

That error message is not talking about a specific variable b: it means you’ve given the wrong syntax for the invocation of some function.

If that’s not enough of a clue to help debug this, then please “copy/paste” the actual exception trace that you are getting.

Also note that if linear_forward worked earlier, then the problem is probably higher up the call stack: you are passing bad arguments to linear_forward which is then causing the error to get thrown.