fix readme

fix readme
This commit is contained in:
redwrasse 2020-11-29 18:51:24 -07:00 committed by GitHub
parent f1339cd0b0
commit 06957e8caa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -226,7 +226,7 @@ predictions = np.stack(list(map(partial(predict, params), input_batch)))
But pushing one example through the network at a time would be slow! Its better
to vectorize the computation, so that at every layer were doing matrix-matrix
multiplies rather than matrix-vector multiplies.
multiplication rather than matrix-vector multiplication.
The `vmap` function does that transformation for us. That is, if we write