Fix sample code block formatting

Add missing colon to format sample code as a code block rather than a quote.
This commit is contained in:
Misha Brukman 2022-08-08 12:41:01 -04:00 committed by GitHub
parent 480efcf0ee
commit 86a1a6b1ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -700,7 +700,7 @@ If you define a function that processes the input using operations that depend o
the relative ordering of inputs (e.g. ``max``, ``greater``, ``argsort``, etc.) then
you may be surprised to find that the gradient is everywhere zero.
Here is an example, where we define `f(x)` to be a step function that returns
`0` when `x` is negative, and `1` when `x` is positive:
`0` when `x` is negative, and `1` when `x` is positive::
import jax
import numpy as np